From 607c9a6c68de39e208ec36c55ad42d99817d83e2 Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub <wlad@montyprogram.com> Date: Thu, 19 Jan 2012 17:31:07 +0100 Subject: [PATCH] Fix innodb_bug60229 (get the innodb change into xtradb) --- storage/xtradb/dict/dict0dict.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/storage/xtradb/dict/dict0dict.c b/storage/xtradb/dict/dict0dict.c index 93334747c8..07f22e4d1d 100644 --- a/storage/xtradb/dict/dict0dict.c +++ b/storage/xtradb/dict/dict0dict.c @@ -3140,10 +3140,15 @@ dict_scan_table_name( memcpy(ref, database_name, database_name_len); ref[database_name_len] = '/'; memcpy(ref + database_name_len + 1, table_name, table_name_len + 1); + } else { +#ifndef __WIN__ if (innobase_get_lower_case_table_names() == 1) { innobase_casedn_str(ref); } +#else + innobase_casedn_str(ref); +#endif /* !__WIN__ */ *table = dict_table_get_low(ref); } -- 2.30.9