Commit b93fb0ab authored by He Zhenxing's avatar He Zhenxing

BUG#41177 mtr gives no debug info after failing to execute check-testcase/check-warnings

Log output of mysqltest when running check-testcase together
with errput. Remove --silent option for mysqltest when running
check-testcase/check-warnings


mysql-test/mysql-test-run.pl:
  Log output of mysqltest when runinng check-testcase together with errput.
  Remove --silent option for mysqltest when running check-testcase/check-warnings
parent bb42e1ab
...@@ -3347,7 +3347,6 @@ sub start_check_warnings ($$) { ...@@ -3347,7 +3347,6 @@ sub start_check_warnings ($$) {
mtr_add_arg($args, "--defaults-file=%s", $path_config_file); mtr_add_arg($args, "--defaults-file=%s", $path_config_file);
mtr_add_arg($args, "--defaults-group-suffix=%s", $mysqld->after('mysqld')); mtr_add_arg($args, "--defaults-group-suffix=%s", $mysqld->after('mysqld'));
mtr_add_arg($args, "--silent");
mtr_add_arg($args, "--skip-safemalloc"); mtr_add_arg($args, "--skip-safemalloc");
mtr_add_arg($args, "--test-file=%s", "include/check-warnings.test"); mtr_add_arg($args, "--test-file=%s", "include/check-warnings.test");
...@@ -4325,7 +4324,6 @@ sub start_check_testcase ($$$) { ...@@ -4325,7 +4324,6 @@ sub start_check_testcase ($$$) {
mtr_add_arg($args, "--defaults-file=%s", $path_config_file); mtr_add_arg($args, "--defaults-file=%s", $path_config_file);
mtr_add_arg($args, "--defaults-group-suffix=%s", $mysqld->after('mysqld')); mtr_add_arg($args, "--defaults-group-suffix=%s", $mysqld->after('mysqld'));
mtr_add_arg($args, "--silent");
mtr_add_arg($args, "--skip-safemalloc"); mtr_add_arg($args, "--skip-safemalloc");
mtr_add_arg($args, "--result-file=%s", "$opt_vardir/tmp/$name.result"); mtr_add_arg($args, "--result-file=%s", "$opt_vardir/tmp/$name.result");
...@@ -4341,6 +4339,7 @@ sub start_check_testcase ($$$) { ...@@ -4341,6 +4339,7 @@ sub start_check_testcase ($$$) {
name => $name, name => $name,
path => $exe_mysqltest, path => $exe_mysqltest,
error => $errfile, error => $errfile,
output => $errfile,
args => \$args, args => \$args,
user_data => $errfile, user_data => $errfile,
verbose => $opt_verbose, verbose => $opt_verbose,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment