MDEV-18867 fixup: Remove DBUG injection
In commit 75e82f71f16c3248387e00bc6e4fe4da02555325 the code to rename internal tables for FULLTEXT INDEX that had been created on Microsoft Windows using incompatible names was removed. Let us also remove the related fault injection.
This commit is contained in:
parent
b4de67da45
commit
bfab4ab000
@ -354,9 +354,6 @@ dict_build_table_def_step(
|
||||
|
||||
/* Always set this bit for all new created tables */
|
||||
DICT_TF2_FLAG_SET(table, DICT_TF2_FTS_AUX_HEX_NAME);
|
||||
DBUG_EXECUTE_IF("innodb_test_wrong_fts_aux_table_name",
|
||||
DICT_TF2_FLAG_UNSET(table,
|
||||
DICT_TF2_FTS_AUX_HEX_NAME););
|
||||
|
||||
if (DICT_TF2_FLAG_IS_SET(table, DICT_TF2_USE_FILE_PER_TABLE)) {
|
||||
/* This table will need a new tablespace. */
|
||||
|
@ -12185,8 +12185,6 @@ index_bad:
|
||||
|
||||
/* Set the flags2 when create table or alter tables */
|
||||
m_flags2 |= DICT_TF2_FTS_AUX_HEX_NAME;
|
||||
DBUG_EXECUTE_IF("innodb_test_wrong_fts_aux_table_name",
|
||||
m_flags2 &= ~DICT_TF2_FTS_AUX_HEX_NAME;);
|
||||
|
||||
DBUG_RETURN(true);
|
||||
}
|
||||
|
@ -34,29 +34,6 @@ fts_write_object_id(
|
||||
ib_id_t id, /* in: a table/index id */
|
||||
char* str) /* in: buffer to write the id to */
|
||||
{
|
||||
|
||||
#ifdef _WIN32
|
||||
|
||||
DBUG_EXECUTE_IF("innodb_test_wrong_non_windows_fts_aux_table_name",
|
||||
return(sprintf(str, UINT64PFx, id)););
|
||||
|
||||
/* Use this to construct old(5.6.14 and 5.7.3) windows
|
||||
ambiguous aux table names */
|
||||
DBUG_EXECUTE_IF("innodb_test_wrong_fts_aux_table_name",
|
||||
return(sprintf(str, "%016llu", (ulonglong) id)););
|
||||
|
||||
#else /* _WIN32 */
|
||||
|
||||
/* Use this to construct old(5.6.14 and 5.7.3) windows
|
||||
ambiguous aux table names */
|
||||
DBUG_EXECUTE_IF("innodb_test_wrong_windows_fts_aux_table_name",
|
||||
return(sprintf(str, "%016llu", (ulonglong) id)););
|
||||
|
||||
DBUG_EXECUTE_IF("innodb_test_wrong_fts_aux_table_name",
|
||||
return(sprintf(str, "%016llx", (ulonglong) id)););
|
||||
|
||||
#endif /* _WIN32 */
|
||||
|
||||
return(sprintf(str, "%016llx", (ulonglong) id));
|
||||
}
|
||||
|
||||
|
@ -1777,9 +1777,6 @@ pars_create_table(
|
||||
ulint flags = 0;
|
||||
ulint flags2 = DICT_TF2_FTS_AUX_HEX_NAME;
|
||||
|
||||
DBUG_EXECUTE_IF("innodb_test_wrong_fts_aux_table_name",
|
||||
flags2 &= ~DICT_TF2_FTS_AUX_HEX_NAME;);
|
||||
|
||||
n_cols = que_node_list_get_len(column_defs);
|
||||
|
||||
table = dict_mem_table_create(
|
||||
|
@ -1657,8 +1657,6 @@ row_fts_merge_insert(
|
||||
/* We should set the flags2 with aux_table_name here,
|
||||
in order to get the correct aux table names. */
|
||||
index->table->flags2 |= DICT_TF2_FTS_AUX_HEX_NAME;
|
||||
DBUG_EXECUTE_IF("innodb_test_wrong_fts_aux_table_name",
|
||||
index->table->flags2 &= ~DICT_TF2_FTS_AUX_HEX_NAME;);
|
||||
fts_table.type = FTS_INDEX_TABLE;
|
||||
fts_table.index_id = index->id;
|
||||
fts_table.table_id = table->id;
|
||||
|
Loading…
x
Reference in New Issue
Block a user