diff options
author | msvensson@shellback.(none) <> | 2006-03-23 15:30:21 +0100 |
---|---|---|
committer | msvensson@shellback.(none) <> | 2006-03-23 15:30:21 +0100 |
commit | e6bf664c62529ac1ed270d31dc532de940909dff (patch) | |
tree | 412c65593f9f25a97a1acb7d5518b0aedacb365e /client | |
parent | 3c3654613af665ea38cd33dfa389b1a3a872f215 (diff) | |
parent | 2b38c41bda066e3a872f0edfea7f6da108ef9b71 (diff) | |
download | mariadb-git-e6bf664c62529ac1ed270d31dc532de940909dff.tar.gz |
Merge shellback.(none):/home/msvensson/mysql/mysqltestrun_pl/my50-mysqltestrun_pl
into shellback.(none):/home/msvensson/mysql/mysql-5.0
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqltest.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c index 468b75c927f..0fec7ffc528 100644 --- a/client/mysqltest.c +++ b/client/mysqltest.c @@ -615,6 +615,8 @@ static void die(const char *fmt, ...) { va_list args; DBUG_ENTER("die"); + + /* Print the error message */ va_start(args, fmt); if (fmt) { @@ -629,6 +631,15 @@ static void die(const char *fmt, ...) fflush(stderr); } va_end(args); + + /* Dump the result that has been accumulated so far to reject file */ + if (result_file && ds_res.length) + { + + reject_dump(result_file, ds_res.str, ds_res.length); + } + + /* Clean up and exit */ free_used_memory(); my_end(MY_CHECK_ERROR); |