标签: mysql events triggers
我有一个与此类似的触发器
create trigger myTrigger after insert on myTable for each row alter event myEvent enable;
使用消息
#1422 - Explicit or implicit commit is not allowed in stored function or trigger.
事件和提交之间的联系是什么?