After merge fixes

parent bc4874b7
...@@ -267,7 +267,7 @@ select * from t2; ...@@ -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); ...@@ -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 ($) { ...@@ -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 { ...@@ -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; ...@@ -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 ...@@ -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 ...@@ -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; ...@@ -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; ...@@ -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;
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