diff options
author | Monty <monty@mariadb.org> | 2020-03-30 14:44:54 +0300 |
---|---|---|
committer | Monty <monty@mariadb.org> | 2020-04-19 17:33:51 +0300 |
commit | 0126169e08c2924a833ea0ccdbfcb19703db85b5 (patch) | |
tree | c3dd11084ad91bdbd9251ca54e96222120d2b7ab /client/mysqltest.cc | |
parent | 478ec7750aaddc2e5aedbad46d93f4c1612ba84e (diff) | |
download | mariadb-git-0126169e08c2924a833ea0ccdbfcb19703db85b5.tar.gz |
Added error message to --die in mtr
Diffstat (limited to 'client/mysqltest.cc')
-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 3e08d3f62d7..bc7247e09a1 100644 --- a/client/mysqltest.cc +++ b/client/mysqltest.cc @@ -9748,7 +9748,8 @@ int main(int argc, char **argv) break; case Q_DIE: /* Abort test with error code and error message */ - die("%s", command->first_argument); + die("%s", command->first_argument[0] ? command->first_argument : + "Explicit --die command executed"); break; case Q_EXIT: /* Stop processing any more commands */ |