diff options
author | rburnett@production.mysql.com <> | 2006-08-04 21:18:58 +0200 |
---|---|---|
committer | rburnett@production.mysql.com <> | 2006-08-04 21:18:58 +0200 |
commit | c1786175f2fa58044c6ff121dbc5a5755662fb34 (patch) | |
tree | 83da0987d155299db2dee5197c78ee1d7a8a6e30 /sql/mysqld.cc | |
parent | 22c77e87a27eba1d3ab747456c282255f08cb05a (diff) | |
download | mariadb-git-c1786175f2fa58044c6ff121dbc5a5755662fb34.tar.gz |
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
Diffstat (limited to 'sql/mysqld.cc')
-rw-r--r-- | sql/mysqld.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc index 786a1ea4f4c..12b445985b8 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -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. */ 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) == 1))) + lower_case_file_system= test_if_case_insensitive(mysql_real_data_home); + if (!lower_case_table_names && lower_case_file_system == 1) { if (lower_case_table_names_used) { |