Skip to content

Commit 4deb5d5

Browse files
Nisha Gopalakrishnandahlerlend
authored andcommitted
Bug#35869747: Cannot drop index from upgraded instance
Fixed the build failure due to unused variable(used only in debug execute if stmt). Change-Id: Iff3915028f1d3631af2fe85669891144ab048856
1 parent a79ed51 commit 4deb5d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

storage/innobase/dict/dict0dd.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2867,8 +2867,8 @@ template const dict_index_t *dd_find_index<dd::Partition_index>(
28672867

28682868
index->n_uniq = n_uniq;
28692869

2870-
const ulint max_len = DICT_MAX_FIELD_LEN_BY_FORMAT(table);
28712870
DBUG_EXECUTE_IF("ib_create_table_fail_at_create_index",
2871+
const ulint max_len = DICT_MAX_FIELD_LEN_BY_FORMAT(table);
28722872
dict_mem_index_free(index);
28732873
my_error(ER_INDEX_COLUMN_TOO_LONG, MYF(0), max_len);
28742874
return HA_ERR_TOO_BIG_ROW;);

0 commit comments

Comments
 (0)