diff options
author | Vladislav Vaintroub <vvaintroub@mysql.com> | 2010-01-24 20:03:10 +0100 |
---|---|---|
committer | Vladislav Vaintroub <vvaintroub@mysql.com> | 2010-01-24 20:03:10 +0100 |
commit | b4d6a13510dbd5bc2eebdd44e5eaec02d8f3725b (patch) | |
tree | 1626adb43ee9a07fc599b570b2f78c9aee961d52 /sql/mysqld.cc | |
parent | c514d75ebb0651dcc65ca9e09cf8458dc904f242 (diff) | |
download | mariadb-git-b4d6a13510dbd5bc2eebdd44e5eaec02d8f3725b.tar.gz |
Fix failing sys_vars.plugin_dir_basic - treat both '/' and '\' as path separators in get_relative_path() on Windows
Diffstat (limited to 'sql/mysqld.cc')
-rw-r--r-- | sql/mysqld.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc index 276ec02a042..12bd1ec7c47 100644 --- a/sql/mysqld.cc +++ b/sql/mysqld.cc @@ -7681,7 +7681,7 @@ static char *get_relative_path(const char *path) strcmp(DEFAULT_MYSQL_HOME,FN_ROOTDIR)) { path+=(uint) strlen(DEFAULT_MYSQL_HOME); - while (*path == FN_LIBCHAR) + while (*path == FN_LIBCHAR || *path == FN_LIBCHAR2) path++; } return (char*) path; |