mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 03:52:35 +01:00
MDEV-21371 Assertion failure in page_rec_get_next_low() during innodb_gis.rtree_compress
A debug assertion that was added in
commit ed0793e096
turns out to be too strict. In the test innodb_gis.rtree_compress,4k
the function is sometimes being invoked by purge for a
spatial index root page that is not a leaf page (PAGE_LEVEL is 1).
This commit is contained in:
parent
f6b58d2916
commit
8174e68895
1 changed files with 1 additions and 0 deletions
|
@ -660,6 +660,7 @@ page_rec_get_next_low(
|
|||
}
|
||||
|
||||
ut_ad(page_rec_is_infimum(rec)
|
||||
|| (!page_is_leaf(page) && !page_has_prev(page))
|
||||
|| !(rec_get_info_bits(page + offs, comp)
|
||||
& REC_INFO_MIN_REC_FLAG));
|
||||
|
||||
|
|
Loading…
Reference in a new issue