Commit 2658410a authored by Daniel Black's avatar Daniel Black

MDEV-29187: Deadlock output in InnoDB status always shows transaction (0)

At some point the incrementing of the transaction counter got dropped.

Thanks Agustin for the bug report.
parent 30914389
......@@ -6126,6 +6126,7 @@ namespace Deadlock
for (trx_t *next= cycle;;)
{
next= next->lock.wait_trx;
l++;
const undo_no_t next_weight= TRX_WEIGHT(next) |
(next->mysql_thd &&
#ifdef WITH_WSREP
......
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