summaryrefslogtreecommitdiff
path: root/sql/sql_test.cc
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2019-11-26 16:32:51 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2019-11-26 16:39:06 +0200
commitdc75f3e06d3ff3c521207321e3548a83786092eb (patch)
treeddef71060279e9e96cbb2d7a3a93bd21a8007c90 /sql/sql_test.cc
parenta35427f3fb8e3680250b7b2788b7a09df81db164 (diff)
downloadmariadb-git-dc75f3e06d3ff3c521207321e3548a83786092eb.tar.gz
MDEV-21152 Bogus debug assertion btr_pcur_is_after_last_in_tree() in ibuf code
As noted in commit abd45cdc38e72ce329365ffe0df4c6f8c319b407 a search with PAGE_CUR_GE may land on the supremum record on a leaf page that is not the rightmost leaf page. This could occur when all keys on the current page are smaller than the search key, and the smallest key on the successor page is larger than the search key. Hence, after a failed PAGE_CUR_GE search, assertions btr_pcur_is_after_last_in_tree() are bogus and should be replaced with btr_pcur_is_after_last_on_page().
Diffstat (limited to 'sql/sql_test.cc')
0 files changed, 0 insertions, 0 deletions