File tree 2 files changed +7
-5
lines changed
2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -513,7 +513,7 @@ pub enum Statement {
513
513
location : Option < String > ,
514
514
query : Option < Box < Query > > ,
515
515
without_rowid : bool ,
516
- like : Option < ObjectName >
516
+ like : Option < ObjectName > ,
517
517
} ,
518
518
/// SQLite's `CREATE VIRTUAL TABLE .. USING <module_name> (<module_args>)`
519
519
CreateVirtualTable {
@@ -809,7 +809,7 @@ impl fmt::Display for Statement {
809
809
location,
810
810
query,
811
811
without_rowid,
812
- like
812
+ like,
813
813
} => {
814
814
// We want to allow the following options
815
815
// Empty column list, allowed by PostgreSQL:
Original file line number Diff line number Diff line change @@ -1183,7 +1183,7 @@ impl Parser {
1183
1183
location : Some ( location) ,
1184
1184
query : None ,
1185
1185
without_rowid : false ,
1186
- like : None
1186
+ like : None ,
1187
1187
} )
1188
1188
}
1189
1189
@@ -1330,7 +1330,9 @@ impl Parser {
1330
1330
let table_name = self . parse_object_name ( ) ?;
1331
1331
let like = if self . parse_keyword ( Keyword :: LIKE ) {
1332
1332
self . parse_object_name ( ) . ok ( )
1333
- } else { None } ;
1333
+ } else {
1334
+ None
1335
+ } ;
1334
1336
// parse optional column list (schema)
1335
1337
let ( columns, constraints) = self . parse_columns ( ) ?;
1336
1338
@@ -1362,7 +1364,7 @@ impl Parser {
1362
1364
location : None ,
1363
1365
query,
1364
1366
without_rowid,
1365
- like
1367
+ like,
1366
1368
} )
1367
1369
}
1368
1370
You can’t perform that action at this time.
0 commit comments