Commit 387474ac authored by mmakela's avatar mmakela

branches/zip: innodb_mutex_show_status(): Fix a condition

that was accidentally negated in r6781, making SHOW ENGINE INNODB MUTEX STATUS
display only locks with no OS waits.
parent c31479b5
......@@ -8831,7 +8831,7 @@ innodb_mutex_show_status(
for (lock = UT_LIST_GET_FIRST(rw_lock_list); lock != NULL;
lock = UT_LIST_GET_NEXT(list, lock)) {
if (lock->count_os_wait) {
if (lock->count_os_wait == 0) {
continue;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment