Commit 607c9a6c authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fix innodb_bug60229 (get the innodb change into xtradb)

parent e3e15687
...@@ -3140,10 +3140,15 @@ dict_scan_table_name( ...@@ -3140,10 +3140,15 @@ dict_scan_table_name(
memcpy(ref, database_name, database_name_len); memcpy(ref, database_name, database_name_len);
ref[database_name_len] = '/'; ref[database_name_len] = '/';
memcpy(ref + database_name_len + 1, table_name, table_name_len + 1); memcpy(ref + database_name_len + 1, table_name, table_name_len + 1);
} else { } else {
#ifndef __WIN__
if (innobase_get_lower_case_table_names() == 1) { if (innobase_get_lower_case_table_names() == 1) {
innobase_casedn_str(ref); innobase_casedn_str(ref);
} }
#else
innobase_casedn_str(ref);
#endif /* !__WIN__ */
*table = dict_table_get_low(ref); *table = dict_table_get_low(ref);
} }
......
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