summaryrefslogtreecommitdiff
path: root/sql/mysqld.cc
diff options
context:
space:
mode:
authorrburnett@production.mysql.com <>2006-08-04 21:18:58 +0200
committerrburnett@production.mysql.com <>2006-08-04 21:18:58 +0200
commitc1786175f2fa58044c6ff121dbc5a5755662fb34 (patch)
tree83da0987d155299db2dee5197c78ee1d7a8a6e30 /sql/mysqld.cc
parent22c77e87a27eba1d3ab747456c282255f08cb05a (diff)
downloadmariadb-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.cc5
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)
{