Commit f0aec16d authored by unknown's avatar unknown
Browse files

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.


sql/mysqld.cc:
  Intialize the "lowercase_filesystem" variable also when "lowercase_table_names" is 1
parent 249465e1
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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 ?