Skip to content
Permalink
Browse files
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.
  • Loading branch information
grooverdan committed Jul 28, 2022
1 parent 3091438 commit 2658410
Showing 1 changed file with 1 addition and 0 deletions.
@@ -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

0 comments on commit 2658410

Please sign in to comment.