diff options
author | Bjorn Munch <bjorn.munch@oracle.com> | 2010-12-01 11:11:16 +0100 |
---|---|---|
committer | Bjorn Munch <bjorn.munch@oracle.com> | 2010-12-01 11:11:16 +0100 |
commit | 9dca123d0281606872086a0101d94ce0ddcb91e4 (patch) | |
tree | b7e86e49a62a9f425be7944b2ec9b397de9b3b5b /client/mysqltest.cc | |
parent | 7c6151ff18881034b1dee60eb4a72221a41b5b71 (diff) | |
download | mariadb-git-9dca123d0281606872086a0101d94ce0ddcb91e4.tar.gz |
Bug #58092 Test "rpl_cross_version" has "copy_file" failing
I am not fixing the test failure
Adds printing of my_errno when commands fail, could hopefully help
Diffstat (limited to 'client/mysqltest.cc')
-rw-r--r-- | client/mysqltest.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/client/mysqltest.cc b/client/mysqltest.cc index b2fcb8fe39e..fbf4563163b 100644 --- a/client/mysqltest.cc +++ b/client/mysqltest.cc @@ -1088,8 +1088,8 @@ void handle_command_error(struct st_command *command, uint error) int i; if (command->abort_on_error) - die("command \"%.*s\" failed with error %d", - command->first_word_len, command->query, error); + die("command \"%.*s\" failed with error %d. my_errno=%d", + command->first_word_len, command->query, error, my_errno); i= match_expected_error(command, error, NULL); @@ -1100,8 +1100,8 @@ void handle_command_error(struct st_command *command, uint error) DBUG_VOID_RETURN; } if (command->expected_errors.count > 0) - die("command \"%.*s\" failed with wrong error: %d", - command->first_word_len, command->query, error); + die("command \"%.*s\" failed with wrong error: %d. my_errno=%d", + command->first_word_len, command->query, error, my_errno); } else if (command->expected_errors.err[0].type == ERR_ERRNO && command->expected_errors.err[0].code.errnum != 0) |