mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
After merge fixes
mysql-test/include/commit.inc: Adjust path Add missing drop tables mysql-test/mysql-test-run.pl: Remove duplicate printout mysql-test/lib/mtr_report.pm: Only print each test that has failed once mysql-test/r/commit_1innodb.result: Adjust path Add missing drop table mysql-test/suite/binlog/r/binlog_multi_engine.result: Remove merge error - extra s mysql-test/suite/binlog/r/binlog_unsafe.result: Remove drop of non existing view mysql-test/suite/binlog/t/binlog_unsafe.test: Remove drop of non existing view
This commit is contained in:
@ -267,7 +267,7 @@ select * from t2;
|
|||||||
insert into t2 (a) values (1026);
|
insert into t2 (a) values (1026);
|
||||||
--replace_result $MYSQLTEST_VARDIR ..
|
--replace_result $MYSQLTEST_VARDIR ..
|
||||||
--error ER_DUP_ENTRY
|
--error ER_DUP_ENTRY
|
||||||
eval load data infile "../std_data_ln/words.dat" into table t1 (a) set a:=f2(26);
|
eval load data infile "../../std_data/words.dat" into table t1 (a) set a:=f2(26);
|
||||||
|
|
||||||
select * from t2;
|
select * from t2;
|
||||||
rollback;
|
rollback;
|
||||||
@ -740,6 +740,6 @@ call p_verify_status_increment(0, 0, 0, 0);
|
|||||||
--echo #
|
--echo #
|
||||||
--echo # Cleanup
|
--echo # Cleanup
|
||||||
--echo #
|
--echo #
|
||||||
drop table t1;
|
drop table t1, t2, t3;
|
||||||
drop procedure p_verify_status_increment;
|
drop procedure p_verify_status_increment;
|
||||||
drop function f1;
|
drop function f1;
|
||||||
|
@ -455,11 +455,14 @@ sub mtr_report_stats ($) {
|
|||||||
# that can be copy pasted to rerun only failing tests
|
# that can be copy pasted to rerun only failing tests
|
||||||
print "Failing test(s):";
|
print "Failing test(s):";
|
||||||
|
|
||||||
|
my %seen= ();
|
||||||
foreach my $tinfo (@$tests)
|
foreach my $tinfo (@$tests)
|
||||||
{
|
{
|
||||||
if ( $tinfo->{'result'} eq 'MTR_RES_FAILED' )
|
my $tname= $tinfo->{'name'};
|
||||||
|
if ( $tinfo->{'result'} eq 'MTR_RES_FAILED' and ! $seen{$tname})
|
||||||
{
|
{
|
||||||
print " $tinfo->{'name'}";
|
print " $tname";
|
||||||
|
$seen{$tname}= 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
print "\n\n";
|
print "\n\n";
|
||||||
|
@ -221,8 +221,6 @@ sub main {
|
|||||||
gcov_prepare();
|
gcov_prepare();
|
||||||
}
|
}
|
||||||
|
|
||||||
mtr_report("Collecting tests...");
|
|
||||||
|
|
||||||
if (!$opt_suites)
|
if (!$opt_suites)
|
||||||
{
|
{
|
||||||
$opt_suites= $DEFAULT_SUITES;
|
$opt_suites= $DEFAULT_SUITES;
|
||||||
|
@ -263,7 +263,7 @@ rollback;
|
|||||||
select * from t2;
|
select * from t2;
|
||||||
a
|
a
|
||||||
insert into t2 (a) values (1026);
|
insert into t2 (a) values (1026);
|
||||||
load data infile "../std_data_ln/words.dat" into table t1 (a) set a:=f2(26);
|
load data infile "../../std_data/words.dat" into table t1 (a) set a:=f2(26);
|
||||||
ERROR 23000: Duplicate entry '26' for key 'a'
|
ERROR 23000: Duplicate entry '26' for key 'a'
|
||||||
select * from t2;
|
select * from t2;
|
||||||
a
|
a
|
||||||
@ -879,6 +879,6 @@ SUCCESS
|
|||||||
#
|
#
|
||||||
# Cleanup
|
# Cleanup
|
||||||
#
|
#
|
||||||
drop table t1;
|
drop table t1, t2, t3;
|
||||||
drop procedure p_verify_status_increment;
|
drop procedure p_verify_status_increment;
|
||||||
drop function f1;
|
drop function f1;
|
||||||
|
@ -37,7 +37,7 @@ mysqld-bin.000001 # Query # # use `test`; TRUNCATE t1b
|
|||||||
mysqld-bin.000001 # Query # # use `test`; TRUNCATE t1n
|
mysqld-bin.000001 # Query # # use `test`; TRUNCATE t1n
|
||||||
RESET MASTER;
|
RESET MASTER;
|
||||||
SET SESSION BINLOG_FORMAT=MIXED;
|
SET SESSION BINLOG_FORMAT=MIXED;
|
||||||
INSERTs INTO t1b VALUES (1,1), (1,2), (2,1), (2,2);
|
INSERT INTO t1b VALUES (1,1), (1,2), (2,1), (2,2);
|
||||||
INSERT INTO t1m VALUES (1,1), (1,2), (2,1), (2,2);
|
INSERT INTO t1m VALUES (1,1), (1,2), (2,1), (2,2);
|
||||||
INSERT INTO t1n VALUES (1,1), (1,2), (2,1), (2,2);
|
INSERT INTO t1n VALUES (1,1), (1,2), (2,1), (2,2);
|
||||||
UPDATE t1m, t1b SET m = 2, b = 3 WHERE n = c;
|
UPDATE t1m, t1b SET m = 2, b = 3 WHERE n = c;
|
||||||
|
@ -192,4 +192,3 @@ DROP PROCEDURE proc4;
|
|||||||
DROP FUNCTION func5;
|
DROP FUNCTION func5;
|
||||||
DROP PREPARE prep6;
|
DROP PREPARE prep6;
|
||||||
DROP TABLE t1, t2, t3, trigger_table, trigger_table2;
|
DROP TABLE t1, t2, t3, trigger_table, trigger_table2;
|
||||||
DROP VIEW v1;
|
|
||||||
|
@ -236,4 +236,3 @@ DROP PROCEDURE proc4;
|
|||||||
DROP FUNCTION func5;
|
DROP FUNCTION func5;
|
||||||
DROP PREPARE prep6;
|
DROP PREPARE prep6;
|
||||||
DROP TABLE t1, t2, t3, trigger_table, trigger_table2;
|
DROP TABLE t1, t2, t3, trigger_table, trigger_table2;
|
||||||
DROP VIEW v1;
|
|
||||||
|
Reference in New Issue
Block a user