row_upd_rec_in_place(): Relax a debug assertion
This commit is contained in:
parent
64ab0fb721
commit
6feb74c4b2
@ -714,9 +714,19 @@ row_upd_rec_in_place(
|
|||||||
case REC_STATUS_COLUMNS_ADDED:
|
case REC_STATUS_COLUMNS_ADDED:
|
||||||
ut_ad(index->is_instant());
|
ut_ad(index->is_instant());
|
||||||
break;
|
break;
|
||||||
|
case REC_STATUS_NODE_PTR:
|
||||||
|
if (recv_recovery_is_on()
|
||||||
|
&& fil_page_get_type(page_align(rec))
|
||||||
|
== FIL_PAGE_RTREE) {
|
||||||
|
/* The function rtr_update_mbr_field_in_place()
|
||||||
|
is generating MLOG_COMP_REC_UPDATE_IN_PLACE
|
||||||
|
and MLOG_REC_UPDATE_IN_PLACE records for
|
||||||
|
node pointer pages. */
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
/* fall through */
|
||||||
case REC_STATUS_INFIMUM:
|
case REC_STATUS_INFIMUM:
|
||||||
case REC_STATUS_SUPREMUM:
|
case REC_STATUS_SUPREMUM:
|
||||||
case REC_STATUS_NODE_PTR:
|
|
||||||
ut_ad(!"wrong record status in update");
|
ut_ad(!"wrong record status in update");
|
||||||
}
|
}
|
||||||
#endif /* UNIV_DEBUG */
|
#endif /* UNIV_DEBUG */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user