mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
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.
This commit is contained in:
parent
30914389fe
commit
2658410afc
1 changed files with 1 additions 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
|
||||
|
|
Loading…
Reference in a new issue