Commit 92577cc0 authored by Kristian Nielsen's avatar Kristian Nielsen

MDEV-5262, MDEV-5914, MDEV-5941, MDEV-6020: Deadlocks during parallel...

MDEV-5262, MDEV-5914, MDEV-5941, MDEV-6020: Deadlocks during parallel replication causing replication to fail.

Fix small (but nasty) typo.
parent 98fc5b3a
...@@ -4057,7 +4057,7 @@ mysql_report_waiters(struct thd_wait_reports *waitee_buf_ptr, ...@@ -4057,7 +4057,7 @@ mysql_report_waiters(struct thd_wait_reports *waitee_buf_ptr,
} }
q = p->next; q = p->next;
if (p != waitee_buf_ptr) if (p != waitee_buf_ptr)
mem_free(q); mem_free(p);
p = q; p = q;
} }
} }
......
...@@ -4080,7 +4080,7 @@ mysql_report_waiters(struct thd_wait_reports *waitee_buf_ptr, ...@@ -4080,7 +4080,7 @@ mysql_report_waiters(struct thd_wait_reports *waitee_buf_ptr,
} }
q = p->next; q = p->next;
if (p != waitee_buf_ptr) if (p != waitee_buf_ptr)
mem_free(q); mem_free(p);
p = q; p = q;
} }
} }
......
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