Merge branch 'v1' into lunny/test_extends

This commit is contained in:
Lunny Xiao 2024-04-25 08:59:35 +00:00
commit c8f70195a3
1 changed files with 2 additions and 1 deletions

View File

@ -19,8 +19,9 @@ func (statement *Statement) isUsingLegacyLimitOffset() bool {
func (statement *Statement) writeMssqlLegacySelect(buf *builder.BytesWriter, columnStr string) error { func (statement *Statement) writeMssqlLegacySelect(buf *builder.BytesWriter, columnStr string) error {
return statement.writeMultiple(buf, return statement.writeMultiple(buf,
statement.writeStrings("SELECT"), statement.writeStrings("SELECT"),
statement.writeDistinct,
statement.writeTop, statement.writeTop,
statement.writeDistinct,
statement.writeStrings(" ", columnStr),
statement.writeFrom, statement.writeFrom,
statement.writeWhereWithMssqlPagination, statement.writeWhereWithMssqlPagination,
statement.writeGroupBy, statement.writeGroupBy,