mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
Add printout of file in which warning was detected
Cleanup .progress, .reject, .log and .warnings files produced by mysqltest client/mysqltest.c: Add printout of file in which warning was detected mysql-test/include/ctype_like_escape.inc: Remove warnings, convert -- comments to # comments mysql-test/mysql-test-run.pl: Cleanup all files produced by mysqltest before starting mysqltest again
This commit is contained in:
parent
cae534e36f
commit
78c5bc62c5
3 changed files with 22 additions and 10 deletions
|
|
@ -11,8 +11,8 @@ insert into t1 values('ab_def');
|
|||
insert into t1 values('abc_ef');
|
||||
insert into t1 values('abcd_f');
|
||||
insert into t1 values('abcde_');
|
||||
-- should return ab_def
|
||||
# should return ab_def
|
||||
select c1 as c1u from t1 where c1 like 'ab\_def';
|
||||
-- should return ab_def
|
||||
# should return ab_def
|
||||
select c1 as c2h from t1 where c1 like 'ab#_def' escape '#';
|
||||
drop table t1;
|
||||
|
|
|
|||
|
|
@ -2704,15 +2704,16 @@ sub do_before_run_mysqltest($)
|
|||
my $tinfo= shift;
|
||||
my $tname= $tinfo->{'name'};
|
||||
|
||||
# Remove old reject file
|
||||
if ( $opt_suite eq "main" )
|
||||
# Remove old files produced by mysqltest
|
||||
my $result_dir= "r";
|
||||
if ( ! $opt_suite eq "main" )
|
||||
{
|
||||
unlink("r/$tname.reject");
|
||||
}
|
||||
else
|
||||
{
|
||||
unlink("suite/$opt_suite/r/$tname.reject");
|
||||
$result_dir= "suite/$opt_suite/r";
|
||||
}
|
||||
unlink("$result_dir/$tname.reject");
|
||||
unlink("$result_dir/$tname.progress");
|
||||
unlink("$result_dir/$tname.log");
|
||||
unlink("$result_dir/$tname.warnings");
|
||||
|
||||
mtr_tonewfile($path_current_test_log,"$tname\n"); # Always tell where we are
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue