diff options
Diffstat (limited to 'client')
-rw-r--r-- | client/mysql_upgrade.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/mysql_upgrade.c b/client/mysql_upgrade.c index ce441695d6f..db120896bda 100644 --- a/client/mysql_upgrade.c +++ b/client/mysql_upgrade.c @@ -1095,7 +1095,7 @@ int main(int argc, char **argv) printf("This installation of MySQL is already upgraded to %s, " "use --force if you still need to run mysql_upgrade\n", MYSQL_SERVER_VERSION); - die(NULL); + goto end; } if (opt_version_check && check_version_match()) @@ -1124,6 +1124,7 @@ int main(int argc, char **argv) DBUG_ASSERT(phase == phases_total); +end: free_used_memory(); my_end(my_end_arg); exit(0); |