mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-18 23:54:19 +01:00
sqlite3-parser: box big members of createindex
This commit is contained in:
@@ -1077,8 +1077,8 @@ paren_exprlist(A) ::= LP exprlist(X) RP. {A = X;}
|
||||
//
|
||||
cmd ::= createkw uniqueflag(U) INDEX ifnotexists(NE) fullname(X)
|
||||
ON nm(Y) LP sortlist(Z) RP where_opt(W). {
|
||||
self.ctx.stmt = Some(Stmt::CreateIndex { unique: U, if_not_exists: NE, idx_name: X,
|
||||
tbl_name: Y, columns: Z, where_clause: W });
|
||||
self.ctx.stmt = Some(Stmt::CreateIndex { unique: U, if_not_exists: NE, idx_name: Box::new(X),
|
||||
tbl_name: Y, columns: Z, where_clause: W.map(Box::new) });
|
||||
}
|
||||
|
||||
%type uniqueflag {bool}
|
||||
|
||||
Reference in New Issue
Block a user