Skip to content

Commit 92577cc

Browse files
committed
MDEV-5262, MDEV-5914, MDEV-5941, MDEV-6020: Deadlocks during parallel replication causing replication to fail.
Fix small (but nasty) typo.
1 parent 98fc5b3 commit 92577cc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

storage/innobase/lock/lock0lock.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4057,7 +4057,7 @@ mysql_report_waiters(struct thd_wait_reports *waitee_buf_ptr,
40574057
}
40584058
q = p->next;
40594059
if (p != waitee_buf_ptr)
4060-
mem_free(q);
4060+
mem_free(p);
40614061
p = q;
40624062
}
40634063
}

storage/xtradb/lock/lock0lock.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4080,7 +4080,7 @@ mysql_report_waiters(struct thd_wait_reports *waitee_buf_ptr,
40804080
}
40814081
q = p->next;
40824082
if (p != waitee_buf_ptr)
4083-
mem_free(q);
4083+
mem_free(p);
40844084
p = q;
40854085
}
40864086
}

0 commit comments

Comments
 (0)