diff options
Diffstat (limited to 'sql/slave.cc')
-rw-r--r-- | sql/slave.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/slave.cc b/sql/slave.cc index e7aa0d4a510..5ff40d8fb25 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -4198,6 +4198,8 @@ static int exec_relay_log_event(THD* thd, Relay_log_info* rli, #ifdef WITH_WSREP if (wsrep_before_statement(thd)) { + mysql_mutex_unlock(&rli->data_lock); + delete ev; WSREP_INFO("Wsrep before statement error"); DBUG_RETURN(1); } |