sqlite3-parser: box large members of CreateTrigger

This commit is contained in:
Jussi Saurio
2025-02-08 18:05:49 +02:00
parent 0dba39b025
commit f341474fee
2 changed files with 4 additions and 4 deletions

View File

@@ -125,13 +125,13 @@ pub enum Stmt {
/// `BEFORE`/`AFTER`/`INSTEAD OF`
time: Option<TriggerTime>,
/// `DELETE`/`INSERT`/`UPDATE`
event: TriggerEvent,
event: Box<TriggerEvent>,
/// table name
tbl_name: QualifiedName,
/// `FOR EACH ROW`
for_each_row: bool,
/// `WHEN`
when_clause: Option<Expr>,
when_clause: Option<Box<Expr>>,
/// statements
commands: Vec<TriggerCmd>,
},