Commit a4ba2369 authored by iggy@alf.(none)'s avatar iggy@alf.(none)

Merge bk-internal.mysql.com:/home/bk/mysql-5.1-maint

into  alf.(none):/src/bug28774/my51-bug28774
parents dfe6c177 c9a19e54
...@@ -467,7 +467,11 @@ static int run_query(const char *query, DYNAMIC_STRING *ds_res, ...@@ -467,7 +467,11 @@ static int run_query(const char *query, DYNAMIC_STRING *ds_res,
if (my_write(fd, (uchar*) query, strlen(query), if (my_write(fd, (uchar*) query, strlen(query),
MYF(MY_FNABP | MY_WME))) MYF(MY_FNABP | MY_WME)))
{
my_close(fd, MYF(0));
my_delete(query_file_path, MYF(0));
die("Failed to write to '%s'", query_file_path); die("Failed to write to '%s'", query_file_path);
}
ret= run_tool(mysql_path, ret= run_tool(mysql_path,
ds_res, ds_res,
......
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