1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

Bug#50373 --secure-file-priv=""

Correcting a patch misstake. The converted file path is placed in 'buff' not in opt_secure_file_priv.
This commit is contained in:
Kristofer Pettersson
2010-04-20 16:17:34 +02:00
parent f394543181
commit 9d63e36ca7
2 changed files with 3 additions and 3 deletions

View File

@@ -8846,7 +8846,7 @@ static int fix_paths(void)
convert_dirname(buff, opt_secure_file_priv, NullS);
char *secure_file_real_path= (char *)my_malloc(FN_REFLEN, MYF(MY_FAE));
if (secure_file_real_path == 0 ||
my_realpath(secure_file_real_path, opt_secure_file_priv, 0))
my_realpath(secure_file_real_path, buff, 0))
{
sql_print_warning("Failed to normalize the argument for --secure-file-priv.");
return 1;