Skip to content

Commit

Permalink
row_upd_rec_in_place(): Relax a debug assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-m committed Jan 5, 2018
1 parent 64ab0fb commit 6feb74c
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion storage/innobase/row/row0upd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -714,9 +714,19 @@ row_upd_rec_in_place(
case REC_STATUS_COLUMNS_ADDED:
ut_ad(index->is_instant());
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_SUPREMUM:
case REC_STATUS_NODE_PTR:
ut_ad(!"wrong record status in update");
}
#endif /* UNIV_DEBUG */
Expand Down

0 comments on commit 6feb74c

Please sign in to comment.