diff options
author | msvensson@neptunus.(none) <> | 2006-07-31 12:47:56 +0200 |
---|---|---|
committer | msvensson@neptunus.(none) <> | 2006-07-31 12:47:56 +0200 |
commit | a5112188e2a7dd85ff8bae01133e044f5b108fa0 (patch) | |
tree | 0c5d1c47cf2061c9b884556e39ce032b3305e25e /sql/mysqld.cc | |
parent | 155bf26d6152a7c4cc0cf00e18056a40a3a644d2 (diff) | |
download | mariadb-git-a5112188e2a7dd85ff8bae01133e044f5b108fa0.tar.gz |
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.
Diffstat (limited to 'sql/mysqld.cc')
-rw-r--r-- | sql/mysqld.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc index 429bdee17d6..b5b6ac1449f 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -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 ? |