mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
merge
This commit is contained in:
@ -2153,10 +2153,14 @@ loop:
|
||||
/* Timeout exceeded or a wrap-around in system
|
||||
time counter: cancel the lock request queued
|
||||
by the transaction and release possible
|
||||
other transactions waiting behind */
|
||||
other transactions waiting behind; it is
|
||||
possible that the lock has already been
|
||||
granted: in that case do nothing */
|
||||
|
||||
lock_cancel_waiting_and_release(
|
||||
thr_get_trx(slot->thr)->wait_lock);
|
||||
if (thr_get_trx(slot->thr)->wait_lock) {
|
||||
lock_cancel_waiting_and_release(
|
||||
thr_get_trx(slot->thr)->wait_lock);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user