Commit 2c56142b authored by Nirbhay Choubey's avatar Nirbhay Choubey

refs codership/mysql-wsrep#184

Merge fix to XtraDB engine.
parent 1d216768
...@@ -394,7 +394,8 @@ lock_wait_suspend_thread( ...@@ -394,7 +394,8 @@ lock_wait_suspend_thread(
if (lock_wait_timeout < 100000000 if (lock_wait_timeout < 100000000
&& wait_time > (double) lock_wait_timeout) { && wait_time > (double) lock_wait_timeout) {
#ifdef WITH_WSREP #ifdef WITH_WSREP
if (!wsrep_is_BF_lock_timeout(trx)) { if (!wsrep_is_BF_lock_timeout(trx)
&& trx->error_state != DB_DEADLOCK) {
#endif /* WITH_WSREP */ #endif /* WITH_WSREP */
trx->error_state = DB_LOCK_WAIT_TIMEOUT; trx->error_state = DB_LOCK_WAIT_TIMEOUT;
......
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