mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
parent
251c53a8a7
commit
c1ea0570af
1 changed files with 3 additions and 2 deletions
|
@ -394,8 +394,9 @@ lock_wait_suspend_thread(
|
|||
if (lock_wait_timeout < 100000000
|
||||
&& wait_time > (double) lock_wait_timeout) {
|
||||
#ifdef WITH_WSREP
|
||||
if (!wsrep_is_BF_lock_timeout(trx)
|
||||
&& trx->error_state != DB_DEADLOCK) {
|
||||
if (!wsrep_on(trx->mysql_thd) ||
|
||||
(!wsrep_is_BF_lock_timeout(trx) &&
|
||||
trx->error_state != DB_DEADLOCK)) {
|
||||
#endif /* WITH_WSREP */
|
||||
|
||||
trx->error_state = DB_LOCK_WAIT_TIMEOUT;
|
||||
|
|
Loading…
Reference in a new issue