diff options
Diffstat (limited to 'storage/innobase/row/row0row.cc')
-rw-r--r-- | storage/innobase/row/row0row.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/storage/innobase/row/row0row.cc b/storage/innobase/row/row0row.cc index f0e5385be85..7e70341a20e 100644 --- a/storage/innobase/row/row0row.cc +++ b/storage/innobase/row/row0row.cc @@ -437,7 +437,6 @@ row_build_low( ut_ad(rec != NULL); ut_ad(heap != NULL); ut_ad(dict_index_is_clust(index)); - ut_ad(!mutex_own(&trx_sys.mutex)); ut_ad(!col_map || col_table); if (!offsets) { @@ -768,7 +767,7 @@ row_rec_to_index_entry_impl( (missing merge_threshold column) is acceptable. */ || (!index->table->is_temporary() && index->table->id == DICT_INDEXES_ID - && rec_len == dict_index_get_n_fields(index) - 1)); + && rec_len + 1 == dict_index_get_n_fields(index))); ulint i; for (i = 0; i < (mblob ? index->first_user_field() : rec_len); |