mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
Added error message to --die in mtr
This commit is contained in:
parent
478ec7750a
commit
0126169e08
1 changed files with 2 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Reference in a new issue