diff options
Diffstat (limited to 'sql/events.cc')
-rw-r--r-- | sql/events.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/events.cc b/sql/events.cc index b7b263971b3..3fdb432cba6 100644 --- a/sql/events.cc +++ b/sql/events.cc @@ -462,6 +462,7 @@ Events::update_event(THD *thd, Event_parse_data *parse_data, if (check_access(thd, EVENT_ACL, parse_data->dbname.str, NULL, NULL, 0, 0)) DBUG_RETURN(TRUE); + WSREP_TO_ISOLATION_BEGIN(WSREP_MYSQL_DB, NULL, NULL); if (lock_object_name(thd, MDL_key::EVENT, @@ -591,6 +592,7 @@ Events::drop_event(THD *thd, LEX_STRING dbname, LEX_STRING name, bool if_exists) if (check_access(thd, EVENT_ACL, dbname.str, NULL, NULL, 0, 0)) DBUG_RETURN(TRUE); + WSREP_TO_ISOLATION_BEGIN(WSREP_MYSQL_DB, NULL, NULL); /* |