Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDEV-35708 lock_rec_get_prev() returns only the first record lock
It's supposed that the function gets the previous lock set on a record. But if there are several locks set on a record, it will return only the first one. Continue locks list iteration till the certain lock even if the certain bit in lock bitmap is set.
- Loading branch information