Skip to content

Commit

Permalink
dict_index_build_internal_clust(): Catch MDEV-20131 on CREATE TABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-m committed Jun 8, 2021
1 parent 72b2489 commit b8d38c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions storage/innobase/dict/dict0dict.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2318,8 +2318,8 @@ dict_index_build_internal_clust(
ulint i;
ibool* indexed;

ut_ad(dict_index_is_clust(index));
ut_ad(!dict_index_is_ibuf(index));
ut_ad(index->is_primary());
ut_ad(!index->has_virtual());

ut_ad(mutex_own(&dict_sys.mutex));

Expand Down

0 comments on commit b8d38c5

Please sign in to comment.