lowercase_fs_off fails on windows because lower_case_file_system is not being

set properly.  This patch should fix that.

mysqld.cc:
  Call test_if_case_insensitive in all cases so lower_case_file_system always gets set
parent 22c77e87
...@@ -2738,9 +2738,8 @@ static int init_common_variables(const char *conf_file_name, int argc, ...@@ -2738,9 +2738,8 @@ static int init_common_variables(const char *conf_file_name, int argc,
get corrupted if accesses with names of different case. get corrupted if accesses with names of different case.
*/ */
DBUG_PRINT("info", ("lower_case_table_names: %d", lower_case_table_names)); DBUG_PRINT("info", ("lower_case_table_names: %d", lower_case_table_names));
if (!lower_case_table_names && lower_case_file_system= test_if_case_insensitive(mysql_real_data_home);
(lower_case_file_system= if (!lower_case_table_names && lower_case_file_system == 1)
(test_if_case_insensitive(mysql_real_data_home) == 1)))
{ {
if (lower_case_table_names_used) if (lower_case_table_names_used)
{ {
......
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