summaryrefslogtreecommitdiff
path: root/storage/xtradb/include/sync0rw.ic
diff options
context:
space:
mode:
Diffstat (limited to 'storage/xtradb/include/sync0rw.ic')
-rw-r--r--storage/xtradb/include/sync0rw.ic3
1 files changed, 2 insertions, 1 deletions
diff --git a/storage/xtradb/include/sync0rw.ic b/storage/xtradb/include/sync0rw.ic
index 075858bd3ce..125c4d90b24 100644
--- a/storage/xtradb/include/sync0rw.ic
+++ b/storage/xtradb/include/sync0rw.ic
@@ -453,7 +453,8 @@ rw_lock_higher_prio_waiters_exist(
return(false);
}
- ut_ad(priority_lock && !high_priority);
+ ut_ad(priority_lock);
+ ut_ad(!high_priority);
prio_rw_lock_t *prio_rw_lock = (prio_rw_lock_t *) lock;
return prio_rw_lock->high_priority_wait_ex_waiter > 0