File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -515,7 +515,7 @@ pub enum Statement {
515
515
location : Option < String > ,
516
516
query : Option < Box < Query > > ,
517
517
without_rowid : bool ,
518
- like : Option < ObjectName >
518
+ like : Option < ObjectName > ,
519
519
} ,
520
520
/// SQLite's `CREATE VIRTUAL TABLE .. USING <module_name> (<module_args>)`
521
521
CreateVirtualTable {
@@ -818,7 +818,7 @@ impl fmt::Display for Statement {
818
818
location,
819
819
query,
820
820
without_rowid,
821
- like
821
+ like,
822
822
} => {
823
823
// We want to allow the following options
824
824
// Empty column list, allowed by PostgreSQL:
Original file line number Diff line number Diff line change @@ -1192,7 +1192,7 @@ impl Parser {
1192
1192
location : Some ( location) ,
1193
1193
query : None ,
1194
1194
without_rowid : false ,
1195
- like : None
1195
+ like : None ,
1196
1196
} )
1197
1197
}
1198
1198
@@ -1340,7 +1340,9 @@ impl Parser {
1340
1340
let table_name = self . parse_object_name ( ) ?;
1341
1341
let like = if self . parse_keyword ( Keyword :: LIKE ) {
1342
1342
self . parse_object_name ( ) . ok ( )
1343
- } else { None } ;
1343
+ } else {
1344
+ None
1345
+ } ;
1344
1346
// parse optional column list (schema)
1345
1347
let ( columns, constraints) = self . parse_columns ( ) ?;
1346
1348
@@ -1373,7 +1375,7 @@ impl Parser {
1373
1375
location : None ,
1374
1376
query,
1375
1377
without_rowid,
1376
- like
1378
+ like,
1377
1379
} )
1378
1380
}
1379
1381
You can’t perform that action at this time.
0 commit comments