summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2017-02-18 10:01:31 +0100
committerSergei Golubchik <serg@mariadb.org>2017-02-27 12:35:10 +0100
commit3cba74e032050b126eaf1fd27072b1afaeef79b3 (patch)
tree2a38e1a5224f7917d047f97b7631151eadd6d224 /sql/sql_parse.cc
parent924a81a548994bd61e9b8ea662bdb64ef1c12ea0 (diff)
downloadmariadb-git-3cba74e032050b126eaf1fd27072b1afaeef79b3.tar.gz
cleanup: fn_format, remove dead code
my_realpath() ignores MY_xxx flags anyway
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 3afabc079d0..a12a2c4193c 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -7715,8 +7715,7 @@ int test_if_data_home_dir(const char *dir)
if (!dir)
DBUG_RETURN(0);
- (void) fn_format(path, dir, "", "",
- (MY_RETURN_REAL_PATH|MY_RESOLVE_SYMLINKS));
+ (void) fn_format(path, dir, "", "", MY_RETURN_REAL_PATH);
dir_len= strlen(path);
if (mysql_unpacked_real_data_home_len<= dir_len)
{