summaryrefslogtreecommitdiff
path: root/mysql-test/suite/innodb_gis/t
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2018-10-25 15:04:37 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2018-10-25 15:18:09 +0300
commit7e9728a913989936b31b6182cf10ffe107612bf1 (patch)
tree0a670facb244590fba7145297fb1ab7e6a4f3664 /mysql-test/suite/innodb_gis/t
parenta21e01a53d309c4c949d41f85a43211008bac1fc (diff)
downloadmariadb-git-7e9728a913989936b31b6182cf10ffe107612bf1.tar.gz
MDEV-17545 Predicate lock for SPATIAL INDEX should lock non-matching record
rtr_pcur_getnext_from_path(): Remove a bogus condition. The predicate lock should be acquired also on no match, to ensure that the locking read will be repeatable. This is based on the following fix in MySQL 5.7.24: commit 365111c590082984dbae42e1d1da28ac3f7fb5bd Author: Jimmy Yang <jimmy.yang@oracle.com> Date: Wed Jun 6 16:23:00 2018 -0700 Fix Bug 27577612 - CONCURRENT SERIALIZABLE TRANSACTIONS CAN INSERT INTO AN AREA SELECTED FOR UPDATE Backport fix to mysql-5.7 Reviewed-by: Allen Lai <allen.lai@oracle.com> No test case is added, because the MySQL 5.7 test case would pass even when the fix is not present. We would need a test case that only causes a locking conflict on the spatial index.
Diffstat (limited to 'mysql-test/suite/innodb_gis/t')
0 files changed, 0 insertions, 0 deletions