summaryrefslogtreecommitdiff
path: root/storage/innobase/include/page0page.ic
diff options
context:
space:
mode:
Diffstat (limited to 'storage/innobase/include/page0page.ic')
-rw-r--r--storage/innobase/include/page0page.ic2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/include/page0page.ic b/storage/innobase/include/page0page.ic
index ee908896050..e23b223ed1e 100644
--- a/storage/innobase/include/page0page.ic
+++ b/storage/innobase/include/page0page.ic
@@ -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");