Preserve MySQL-style LIMIT <offset>, <limit> syntax (#1765)

This commit is contained in:
Michael Victor Zink 2025-03-12 13:24:06 -07:00 committed by GitHub
parent 85f855150f
commit fb578bb419
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 327 additions and 266 deletions

View file

@ -107,9 +107,7 @@ fn parse_create_procedure() {
or_alter: true,
body: vec![Statement::Query(Box::new(Query {
with: None,
limit: None,
limit_by: vec![],
offset: None,
limit_clause: None,
fetch: None,
locks: vec![],
for_clause: None,
@ -1161,9 +1159,7 @@ fn parse_substring_in_select() {
flavor: SelectFlavor::Standard,
}))),
order_by: None,
limit: None,
limit_by: vec![],
offset: None,
limit_clause: None,
fetch: None,
locks: vec![],
for_clause: None,
@ -1264,9 +1260,7 @@ fn parse_mssql_declare() {
}),
Statement::Query(Box::new(Query {
with: None,
limit: None,
limit_by: vec![],
offset: None,
limit_clause: None,
fetch: None,
locks: vec![],
for_clause: None,