summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <msvensson@shellback.(none)>2007-08-03 12:54:06 +0200
committerunknown <msvensson@shellback.(none)>2007-08-03 12:54:06 +0200
commita1552e8f8da5fc3edb3734be72c2e1f7a7ae3ebb (patch)
tree10290f12df39a032f4cba08268a63f634314018b /client
parent6fb214b4261b60fbfd4d27f780f639eadfcfcdc0 (diff)
downloadmariadb-git-a1552e8f8da5fc3edb3734be72c2e1f7a7ae3ebb.tar.gz
Remove the temporary file created by mysql_upgrade
client/mysql_upgrade.c: Remove the temporary file after it's been used
Diffstat (limited to 'client')
-rw-r--r--client/mysql_upgrade.c1
1 files changed, 1 insertions, 0 deletions
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);
}