Commit 1f8d44ed authored by Marko Mäkelä's avatar Marko Mäkelä

Block instant ALTER better with FULLTEXT INDEX

parent a1f3f1e8
......@@ -1241,6 +1241,7 @@ ha_innobase::check_if_supported_inplace_alter(
const bool supports_instant = m_prebuilt->table->supports_instant()
&& instant_alter_column_possible(ha_alter_info, table)
#if 1 // MDEV-17459: adjust fts_fetch_doc_from_rec() and friends; remove this
&& !m_prebuilt->table->fts
&& !innobase_fulltext_exist(altered_table)
&& !innobase_fulltext_exist(table)
#endif
......@@ -5700,6 +5701,7 @@ prepare_inplace_alter_table_dict(
if (ctx->need_rebuild() && user_table->supports_instant()
&& instant_alter_column_possible(ha_alter_info, old_table)
#if 1 // MDEV-17459: adjust fts_fetch_doc_from_rec() and friends; remove this
&& !user_table->fts
&& !innobase_fulltext_exist(altered_table)
&& !innobase_fulltext_exist(old_table)
#endif
......
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