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

@ -1319,9 +1319,7 @@ fn parse_copy_to() {
flavor: SelectFlavor::Standard,
}))),
order_by: None,
limit: None,
limit_by: vec![],
offset: None,
limit_clause: None,
fetch: None,
locks: vec![],
for_clause: None,
@ -2955,9 +2953,7 @@ fn parse_array_subquery_expr() {
}))),
}),
order_by: None,
limit: None,
limit_by: vec![],
offset: None,
limit_clause: None,
fetch: None,
locks: vec![],
for_clause: None,
@ -4747,9 +4743,7 @@ fn test_simple_postgres_insert_with_alias() {
]]
})),
order_by: None,
limit: None,
limit_by: vec![],
offset: None,
limit_clause: None,
fetch: None,
locks: vec![],
for_clause: None,
@ -4820,9 +4814,7 @@ fn test_simple_postgres_insert_with_alias() {
]]
})),
order_by: None,
limit: None,
limit_by: vec![],
offset: None,
limit_clause: None,
fetch: None,
locks: vec![],
for_clause: None,
@ -4891,9 +4883,7 @@ fn test_simple_insert_with_quoted_alias() {
]]
})),
order_by: None,
limit: None,
limit_by: vec![],
offset: None,
limit_clause: None,
fetch: None,
locks: vec![],
for_clause: None,