diff options
| author | Marko Mäkelä <marko.makela@mariadb.com> | 2019-11-26 16:32:51 +0200 |
|---|---|---|
| committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-11-26 16:39:06 +0200 |
| commit | dc75f3e06d3ff3c521207321e3548a83786092eb (patch) | |
| tree | ddef71060279e9e96cbb2d7a3a93bd21a8007c90 /sql/sql_test.cc | |
| parent | a35427f3fb8e3680250b7b2788b7a09df81db164 (diff) | |
| download | mariadb-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
