Update internal/statements/legacy_select.go (#2400)
fix #2399, When Oracle enables USE_LEGACY_LIMIT_OFFSET, the Where condition fails Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Reviewed-on: https://gitea.com/xorm/xorm/pulls/2400 Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: Kos <kos@noreply.gitea.com> Co-committed-by: Kos <kos@noreply.gitea.com>
This commit is contained in:
parent
5301cc0ae9
commit
11e96d9654
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue