Fix lowercase_fs_off problem on windows. This test should not be run if lower_case_filesystem=OFF.

By default lowercase_table_names are 1 on windows, and that makes the initialization of lower_case_filesystem variable to be skipped.
Add an else bracnh that does the initialization.
parent 155bf26d
......@@ -2770,6 +2770,11 @@ You should consider changing lower_case_table_names to 1 or 2",
mysql_real_data_home);
lower_case_table_names= 0;
}
else
{
lower_case_file_system=
(test_if_case_insensitive(mysql_real_data_home) == 1);
}
/* Reset table_alias_charset, now that lower_case_table_names is set. */
table_alias_charset= (lower_case_table_names ?
......
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