mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
Fix the printout for long semaphore waits to not
list a thread doing a wait_ex as an s-lock waiter.
This commit is contained in:
parent
0732625a51
commit
cd1ee2b679
1 changed files with 3 additions and 1 deletions
|
@ -504,7 +504,9 @@ sync_array_cell_print(
|
||||||
|| type == RW_LOCK_WAIT_EX
|
|| type == RW_LOCK_WAIT_EX
|
||||||
|| type == RW_LOCK_SHARED) {
|
|| type == RW_LOCK_SHARED) {
|
||||||
|
|
||||||
fputs(type == RW_LOCK_EX ? "X-lock on" : "S-lock on", file);
|
fputs(type == RW_LOCK_EX ? "X-lock on"
|
||||||
|
: type == RW_LOCK_WAIT_EX ? "X-lock (wait_ex) on"
|
||||||
|
: "S-lock on", file);
|
||||||
|
|
||||||
rwlock = cell->old_wait_rw_lock;
|
rwlock = cell->old_wait_rw_lock;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue