diff options
author | unknown <wax@mysql.com> | 2005-01-02 20:01:08 +0500 |
---|---|---|
committer | unknown <wax@mysql.com> | 2005-01-02 20:01:08 +0500 |
commit | 842cde98c761a9b23a6f93581b28c7ae76c844b7 (patch) | |
tree | 2f407bc2993f376be1c3ed138b9d71862654cadf /client | |
parent | 7a18eb7a6bee68767b0b2d59722d0bdfe551f7ce (diff) | |
parent | 55d9781de318581368d4b94c12ce4e2205f6f23f (diff) | |
download | mariadb-git-842cde98c761a9b23a6f93581b28c7ae76c844b7.tar.gz |
Merge mysql.com:/home/wax/mysql/mysql-4.1
into mysql.com:/home/wax/mysql/mysql-4.1test2
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqltest.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c index 18d5660d1a7..abacd73d878 100644 --- a/client/mysqltest.c +++ b/client/mysqltest.c @@ -538,7 +538,6 @@ static void free_used_memory() mysql_server_end(); if (ps_protocol) ps_free_reg(); - my_end(MY_CHECK_ERROR); DBUG_VOID_RETURN; } @@ -556,6 +555,7 @@ static void die(const char* fmt, ...) } va_end(args); free_used_memory(); + my_end(MY_CHECK_ERROR); exit(1); } @@ -568,6 +568,7 @@ static void abort_not_supported_test() if (!silent) printf("skipped\n"); free_used_memory(); + my_end(MY_CHECK_ERROR); exit(2); } @@ -3655,6 +3656,7 @@ int main(int argc, char **argv) if (!got_end_timer) timer_output(); /* No end_timer cmd, end it */ free_used_memory(); + my_end(MY_CHECK_ERROR); exit(error ? 1 : 0); return error ? 1 : 0; /* Keep compiler happy */ } |