summaryrefslogtreecommitdiff
path: root/storage/xtradb/sync/sync0arr.c
diff options
context:
space:
mode:
Diffstat (limited to 'storage/xtradb/sync/sync0arr.c')
-rw-r--r--storage/xtradb/sync/sync0arr.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/storage/xtradb/sync/sync0arr.c b/storage/xtradb/sync/sync0arr.c
index cfa52cdcc88..223e1715944 100644
--- a/storage/xtradb/sync/sync0arr.c
+++ b/storage/xtradb/sync/sync0arr.c
@@ -498,7 +498,9 @@ sync_array_cell_print(
|| type == RW_LOCK_WAIT_EX
|| 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;