mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-24 16:04:04 +00:00
Preserve MySQL-style LIMIT <offset>, <limit>
syntax (#1765)
This commit is contained in:
parent
85f855150f
commit
fb578bb419
10 changed files with 327 additions and 266 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue