mirror of
https://github.com/aljazceru/turso.git
synced 2026-01-09 03:04:20 +01:00
sqlite3-parser: box everything in Attach
This commit is contained in:
@@ -78,11 +78,11 @@ pub enum Stmt {
|
||||
Attach {
|
||||
/// filename
|
||||
// TODO distinction between ATTACH and ATTACH DATABASE
|
||||
expr: Expr,
|
||||
expr: Box<Expr>,
|
||||
/// schema name
|
||||
db_name: Expr,
|
||||
db_name: Box<Expr>,
|
||||
/// password
|
||||
key: Option<Expr>,
|
||||
key: Option<Box<Expr>>,
|
||||
},
|
||||
/// `BEGIN`: tx type, tx name
|
||||
Begin(Option<TransactionType>, Option<Name>),
|
||||
|
||||
Reference in New Issue
Block a user