summaryrefslogtreecommitdiff
path: root/storage/xtradb/dict/dict0mem.cc
diff options
context:
space:
mode:
Diffstat (limited to 'storage/xtradb/dict/dict0mem.cc')
-rw-r--r--storage/xtradb/dict/dict0mem.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/storage/xtradb/dict/dict0mem.cc b/storage/xtradb/dict/dict0mem.cc
index ab6167b920b..4ef3d5df750 100644
--- a/storage/xtradb/dict/dict0mem.cc
+++ b/storage/xtradb/dict/dict0mem.cc
@@ -499,9 +499,7 @@ dict_mem_table_col_rename(
s += len + 1;
}
- /* This could fail if the data dictionaries are out of sync.
- Proceed with the renaming anyway. */
- ut_ad(!strcmp(from, s));
+ ut_ad(!my_strcasecmp(system_charset_info, from, s));
dict_mem_table_col_rename_low(table, nth_col, to, s);
}