Skip to content

Commit 899c843

Browse files
committed
Merge 10.3 into 10.4
2 parents 0a473de + fa6c606 commit 899c843

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

storage/innobase/rem/rem0rec.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,9 @@ rec_init_offsets(
788788
}
789789

790790
if (i < rec_offs_n_fields(offsets)) {
791-
ut_ad(index->is_instant());
791+
ut_ad(index->is_instant()
792+
|| i + (index->id == DICT_INDEXES_ID)
793+
== rec_offs_n_fields(offsets));
792794

793795
offs = (rec_offs_base(offsets)[i] & REC_OFFS_MASK)
794796
| REC_OFFS_DEFAULT;

0 commit comments

Comments
 (0)