Update internal/statements/legacy_select.go

fix #2399, When Oracle enables USE_LEGACY_LIMIT_OFFSET, the Where condition fails
This commit is contained in:
Kos 2024-01-25 09:38:48 +00:00
parent e884f059a4
commit 42dbf5b579
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,
statement.writeSelectColumns(columnStr),
statement.writeFrom,
statement.writeWhere,
statement.writeOracleLimit(columnStr),
statement.writeGroupBy,
statement.writeHaving,