From 0b597d3ab2494bc1db97cc4a30d697a5fdf48c21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20M=C3=A4kel=C3=A4?= Date: Tue, 9 Jan 2018 14:50:02 +0200 Subject: [PATCH] Follow-up to MDEV-14837: Relax a too strict assertion --- storage/innobase/rem/rem0rec.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/storage/innobase/rem/rem0rec.cc b/storage/innobase/rem/rem0rec.cc index 644232b72ff1a..38359e17b8fef 100644 --- a/storage/innobase/rem/rem0rec.cc +++ b/storage/innobase/rem/rem0rec.cc @@ -1848,7 +1848,7 @@ rec_copy_prefix_to_buf( ulint null_mask; bool is_rtr_node_ptr = false; - ut_ad(n_fields <= index->n_fields); + ut_ad(n_fields <= index->n_fields || dict_index_is_ibuf(index)); ut_ad(index->n_core_null_bytes <= UT_BITS_IN_BYTES(index->n_nullable)); UNIV_PREFETCH_RW(*buf);