Commit dd46dc82 authored by Venkata Sidagam's avatar Venkata Sidagam

Bug #17168602 MYSQL_PLUGIN REMOVES NON-DIRECTORY TYPE

              FILES SPECIFIED WITH THE BASEDIR OPTION

Reverting the patch. Because asked for second review.
parent 3f1802a4
...@@ -856,7 +856,7 @@ static int process_options(int argc, char *argv[], char *operation) ...@@ -856,7 +856,7 @@ static int process_options(int argc, char *argv[], char *operation)
strncat(buff, FN_DIRSEP, sizeof(buff) - strlen(buff) - 1); strncat(buff, FN_DIRSEP, sizeof(buff) - strlen(buff) - 1);
#endif #endif
buff[sizeof(buff) - 1]= 0; buff[sizeof(buff) - 1]= 0;
my_free(opt_basedir); my_delete(opt_basedir, MYF(0));
opt_basedir= my_strdup(buff, MYF(MY_FAE)); opt_basedir= my_strdup(buff, MYF(MY_FAE));
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment