server
server copied to clipboard
MDEV-33935 fix deadlock counter
trafficstars
- [x] The Jira issue number for this PR is: MDEV-33935
Description
Fixed deadlock counter incrementing on every call to cycle finding that was used multiple times during the deadlock detection.
Release Notes
How can this PR be tested?
./mtr mdev-33935
Basing the PR against the correct MariaDB version
- [ ] This is a new feature and the PR is based against the latest MariaDB development branch.
- [x] This is a bug fix and the PR is based against the earliest maintained branch in which the bug can be reproduced.
PR quality check
- [x] I checked the CODING_STANDARDS.md file and my PR conforms to this where appropriate.
- [x] For any trivial modifications to the PR, I am ok with the reviewer making the changes themselves.