diff --git a/sqld/src/query_analysis.rs b/sqld/src/query_analysis.rs index 0c7f7d43..f1c6cffc 100644 --- a/sqld/src/query_analysis.rs +++ b/sqld/src/query_analysis.rs @@ -85,6 +85,7 @@ impl StmtKind { Cmd::Stmt(Stmt::AlterTable(tbl_name, _)) => write_if_not_reserved(tbl_name), Cmd::Stmt( Stmt::DropIndex { .. } + | Stmt::DropTrigger { .. } | Stmt::CreateTrigger { temporary: false, .. }