From b0915e6abdd607fc666025ca57aef615b4816864 Mon Sep 17 00:00:00 2001 From: Venkata Sidagam Date: Thu, 5 Sep 2013 14:18:43 +0530 Subject: Bug #17168602 MYSQL_PLUGIN REMOVES NON-DIRECTORY TYPE FILES SPECIFIED WITH THE BASEDIR OPTION Reverting the patch. Because asked for second review. --- client/mysql_plugin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/mysql_plugin.c') diff --git a/client/mysql_plugin.c b/client/mysql_plugin.c index 7fbfeb9e9a6..72bab3ad528 100644 --- a/client/mysql_plugin.c +++ b/client/mysql_plugin.c @@ -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)); } } -- cgit v1.2.1