From a1552e8f8da5fc3edb3734be72c2e1f7a7ae3ebb Mon Sep 17 00:00:00 2001 From: unknown Date: Fri, 3 Aug 2007 12:54:06 +0200 Subject: Remove the temporary file created by mysql_upgrade client/mysql_upgrade.c: Remove the temporary file after it's been used --- client/mysql_upgrade.c | 1 + 1 file changed, 1 insertion(+) (limited to 'client') diff --git a/client/mysql_upgrade.c b/client/mysql_upgrade.c index 64de3d19882..13f5d2606a9 100644 --- a/client/mysql_upgrade.c +++ b/client/mysql_upgrade.c @@ -457,6 +457,7 @@ static int run_query(const char *query, DYNAMIC_STRING *ds_res, NULL); my_close(fd, MYF(0)); + my_delete(query_file_path, MYF(0)); DBUG_RETURN(ret); } -- cgit v1.2.1