diff options
author | Shunpoco <tkngsnsk313320@gmail.com> | 2022-04-11 22:43:02 +0900 |
---|---|---|
committer | Daniel Black <daniel@mariadb.org> | 2022-04-12 08:17:32 +1000 |
commit | 767d8d8335f9d45efb86c77a9efa0b42aff1eb27 (patch) | |
tree | a2c0c357244f694952fa6e757476ba56f391a70a /mysql-test/main/select_jcl6.result | |
parent | 833f4486cf7c9858e1f6d2e2deeded6d43fd4e21 (diff) | |
download | mariadb-git-767d8d8335f9d45efb86c77a9efa0b42aff1eb27.tar.gz |
MDEV-27448 MTR returns success (zero) upon invalid option
I change from `exit;` to `exit(1);` on a function `usage()`.
When we try to run mtr with a wrong option, a function `usage()` is called with the wrong option as its argument. In this case, because the function call `exit` in a first if statement, we get exit status 0.
Diffstat (limited to 'mysql-test/main/select_jcl6.result')
0 files changed, 0 insertions, 0 deletions