While checking whether the page is a leaf page or not based on from an on-page cell addr is wrong as it is comparing to a wrong enum.
if (is_leafp != NULL) *is_leafp = unpack->type != WT_ADDR_INT;
it should be
if (is_leafp != NULL) *is_leafp = unpack->type != WT_CELL_ADDR_INT;
- is caused by
-
WT-5219 Btree walk code read the lock WT_REF.addr field without locking
- Closed