diff options
author | Magnus Svensson <msvensson@mysql.com> | 2009-03-13 16:06:50 +0100 |
---|---|---|
committer | Magnus Svensson <msvensson@mysql.com> | 2009-03-13 16:06:50 +0100 |
commit | 0c7bfb8a2c599ba96065691cf9b3d88570008c13 (patch) | |
tree | 2ef653416f558acf6b77009fa25c328fcffa7364 /client | |
parent | 334f53a100038b24722d8cb5c0f366adc1691082 (diff) | |
download | mariadb-git-0c7bfb8a2c599ba96065691cf9b3d88570008c13.tar.gz |
Bug#43361 msyql_client_test output lost
- Print the output(if any) from the command that failed, in many
cases this will make it possible to immediately see what went wrong.
Diffstat (limited to 'client')
-rw-r--r-- | client/mysqltest.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/mysqltest.cc b/client/mysqltest.cc index 89b9c78a049..3dcffada2fb 100644 --- a/client/mysqltest.cc +++ b/client/mysqltest.cc @@ -2653,7 +2653,8 @@ void do_exec(struct st_command *command) log_msg("exec of '%s' failed, error: %d, status: %d, errno: %d", ds_cmd.str, error, status, errno); dynstr_free(&ds_cmd); - die("command \"%s\" failed", command->first_argument); + die("command \"%s\" failed\n\nOutput from before failure:\n%s\n", + command->first_argument, ds_res.str); } DBUG_PRINT("info", |