1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-07 00:04:31 +03:00

Bug #17168602 MYSQL_PLUGIN REMOVES NON-DIRECTORY TYPE

FILES SPECIFIED WITH THE BASEDIR OPTION

Reverting the patch. Because asked for second review.
This commit is contained in:
Venkata Sidagam
2013-09-05 14:18:43 +05:30
parent 14976fbe8a
commit b0915e6abd

View File

@@ -856,7 +856,7 @@ static int process_options(int argc, char *argv[], char *operation)
strncat(buff, FN_DIRSEP, sizeof(buff) - strlen(buff) - 1);
#endif
buff[sizeof(buff) - 1]= 0;
my_free(opt_basedir);
my_delete(opt_basedir, MYF(0));
opt_basedir= my_strdup(buff, MYF(MY_FAE));
}
}