Skip to content

Commit

Permalink
MDEV-20605 Awaken transaction can miss inserted by other transaction …
Browse files Browse the repository at this point in the history
…records due to wrong persistent cursor restoration

Post-push fix: remove unstable test.

The test was developed to find the reason of duplicated rows caused by
MDEV-20605 fix. The test is not necessary as the reason was found and
the bug was fixed.
  • Loading branch information
vlad-lesin committed Feb 15, 2022
1 parent 20e9e80 commit 5948d76
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 71 deletions.
26 changes: 0 additions & 26 deletions mysql-test/suite/innodb/r/cursor-restore-non-locking-read.result

This file was deleted.

44 changes: 0 additions & 44 deletions mysql-test/suite/innodb/t/cursor-restore-non-locking-read.test

This file was deleted.

2 changes: 1 addition & 1 deletion storage/innobase/row/row0sel.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5654,7 +5654,7 @@ row_search_mvcc(
btr_pcur_store_position(pcur, &mtr);
mtr.commit();
mtr_has_extra_clust_latch = FALSE;
DEBUG_SYNC_C("row_search_clust_unlatched");

mtr.start();

if (sel_restore_position_for_mysql(&same_user_rec,
Expand Down

0 comments on commit 5948d76

Please sign in to comment.