Remove a bogus page_is_root() debug assertion on btr_create() failure
The predicate page_is_root() would not hold if btr_create() fails before the root page is fully initialized. Move the debug assertion from btr_free_root_invalidate() to its other caller, btr_free_if_exists(). In that caller, we actually already checked for page_is_root().
Showing
Please register or sign in to comment