diff options
Diffstat (limited to 'sql/event_scheduler.cc')
-rw-r--r-- | sql/event_scheduler.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/event_scheduler.cc b/sql/event_scheduler.cc index 55a3f6b36c4..fae703e23c4 100644 --- a/sql/event_scheduler.cc +++ b/sql/event_scheduler.cc @@ -413,6 +413,8 @@ Event_scheduler::start() for writing when the server is running in the read-only mode. */ new_thd->security_ctx->master_access |= SUPER_ACL; + new_thd->variables.tx_read_only= false; + new_thd->tx_read_only= false; scheduler_param_value= (struct scheduler_param *)my_malloc(sizeof(struct scheduler_param), MYF(0)); |