Fix oracle legacy (#2406)

Fix #2399

Reviewed-on: https://gitea.com/xorm/xorm/pulls/2406
This commit is contained in:
Lunny Xiao 2024-02-05 11:13:25 +00:00
parent 3344b42b4b
commit 93326c6991
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ func (statement *Statement) writeOracleLegacySelect(buf *builder.BytesWriter, co
return statement.writeMultiple(buf, return statement.writeMultiple(buf,
statement.writeSelectColumns(columnStr), statement.writeSelectColumns(columnStr),
statement.writeFrom, statement.writeFrom,
statement.writeWhere,
statement.writeOracleLimit(columnStr), statement.writeOracleLimit(columnStr),
statement.writeGroupBy, statement.writeGroupBy,
statement.writeHaving, statement.writeHaving,