summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorVenkata Sidagam <venkata.sidagam@oracle.com>2013-09-05 14:18:43 +0530
committerVenkata Sidagam <venkata.sidagam@oracle.com>2013-09-05 14:18:43 +0530
commitdd46dc823a7c484211ecef59c53d7999c7f58529 (patch)
tree2098dbdd64a72618dbdcdc764dbb08a5badb2fe6 /client
parent3f1802a4c9dc33757f1dcfd4b1944c15552a777f (diff)
downloadmariadb-git-dd46dc823a7c484211ecef59c53d7999c7f58529.tar.gz
Bug #17168602 MYSQL_PLUGIN REMOVES NON-DIRECTORY TYPE
FILES SPECIFIED WITH THE BASEDIR OPTION Reverting the patch. Because asked for second review.
Diffstat (limited to 'client')
-rw-r--r--client/mysql_plugin.c2
1 files changed, 1 insertions, 1 deletions
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));
}
}