Commit 46d768eb authored by Marko Mäkelä's avatar Marko Mäkelä

Enable an assertion

parent 2f5ac0a4
......@@ -5703,7 +5703,7 @@ prepare_inplace_alter_table_dict(
&error, add_v);
ut_a(error == DB_SUCCESS);
}
#if 0
DBUG_ASSERT(ha_alter_info->key_count
/* hidden GEN_CLUST_INDEX in InnoDB */
+ dict_index_is_auto_gen_clust(
......@@ -5715,7 +5715,7 @@ prepare_inplace_alter_table_dict(
altered_table->key_info)
!= FTS_EXIST_DOC_ID_INDEX)
== ctx->num_to_add_index);
#endif
ctx->num_to_add_index = 0;
ctx->add_index = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment