summaryrefslogtreecommitdiff
path: root/sql/sys_vars.cc
diff options
context:
space:
mode:
authorJulius Goryavsky <julius.goryavsky@mariadb.com>2020-05-12 13:29:17 +0200
committerJulius Goryavsky <julius.goryavsky@mariadb.com>2020-07-16 12:28:36 +0200
commitb3cae9db112d69e8472d4f965805db7c61a6c44c (patch)
tree4206206c089fad043d8117d0fb82632bc20b42a6 /sql/sys_vars.cc
parent147d4b1ec0da85cd0f269b05c0e604bf7abc8753 (diff)
downloadmariadb-git-b3cae9db112d69e8472d4f965805db7c61a6c44c.tar.gz
MDEV-20401: Server incorrectly auto-sets lower_case_file_system value
Server auto-sets lower_case_file_system value based on default datadir's behavior instead of instead of using the directory specified by the user through the configuration file or command line options. This patch fixes this problem.
Diffstat (limited to 'sql/sys_vars.cc')
-rw-r--r--sql/sys_vars.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sys_vars.cc b/sql/sys_vars.cc
index af261299496..fa62667b863 100644
--- a/sql/sys_vars.cc
+++ b/sql/sys_vars.cc
@@ -839,7 +839,7 @@ static Sys_var_ulong Sys_connect_timeout(
static Sys_var_charptr Sys_datadir(
"datadir", "Path to the database root directory",
- READ_ONLY GLOBAL_VAR(mysql_real_data_home_ptr),
+ PARSED_EARLY READ_ONLY GLOBAL_VAR(mysql_real_data_home_ptr),
CMD_LINE(REQUIRED_ARG, 'h'), IN_FS_CHARSET, DEFAULT(mysql_real_data_home));
#ifndef DBUG_OFF