Commit 20df56c1 authored by Seppo Jaakola's avatar Seppo Jaakola

References lp:1051808 lp:1049024 https://mariadb.atlassian.net/browse/MDEV-541

      patched with: bzr diff lp:codership-mysql/5.5 -r3794..3795
parent 6475ef7d
...@@ -1056,8 +1056,11 @@ bool dispatch_command(enum enum_server_command command, THD *thd, ...@@ -1056,8 +1056,11 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
my_error(ER_LOCK_DEADLOCK, MYF(0), "wsrep aborted transaction"); my_error(ER_LOCK_DEADLOCK, MYF(0), "wsrep aborted transaction");
WSREP_DEBUG("Deadlock error for: %s", thd->query()); WSREP_DEBUG("Deadlock error for: %s", thd->query());
mysql_mutex_unlock(&thd->LOCK_wsrep_thd); mysql_mutex_unlock(&thd->LOCK_wsrep_thd);
thd->killed= NOT_KILLED; thd->killed = NOT_KILLED;
thd->mysys_var->abort= 0; thd->mysys_var->abort = 0;
thd->wsrep_conflict_state = NO_CONFLICT;
thd->wsrep_retry_counter = 0;
goto dispatch_end; goto dispatch_end;
} }
mysql_mutex_unlock(&thd->LOCK_wsrep_thd); mysql_mutex_unlock(&thd->LOCK_wsrep_thd);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment