Relax a bogus debug assertion
While insert direction makes no sense for SPATIAL INDEX (R-tree), the field is apparently being used (and basically garbage). Relax the debug assertion that was added in MDEV-11369.
This commit is contained in:
parent
145ae15a33
commit
c9ad134e56
@ -1116,7 +1116,7 @@ page_get_instant(const page_t* page)
|
||||
ut_ad(i <= PAGE_NO_DIRECTION || !page_is_comp(page));
|
||||
break;
|
||||
case FIL_PAGE_RTREE:
|
||||
ut_ad(i == PAGE_NO_DIRECTION || i == 0);
|
||||
ut_ad(i <= PAGE_NO_DIRECTION);
|
||||
break;
|
||||
default:
|
||||
ut_ad(!"invalid page type");
|
||||
|
Loading…
x
Reference in New Issue
Block a user