mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
parent
1d21676853
commit
2c56142b77
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue