Skip to content

Commit 201ce48

Browse files
author
msvensson@pilot.mysql.com
committed
After merge fixes
1 parent bc4874b commit 201ce48

File tree

7 files changed

+10
-11
lines changed

7 files changed

+10
-11
lines changed

mysql-test/include/commit.inc

+2-2
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ select * from t2;
267267
insert into t2 (a) values (1026);
268268
--replace_result $MYSQLTEST_VARDIR ..
269269
--error ER_DUP_ENTRY
270-
eval load data infile "../std_data_ln/words.dat" into table t1 (a) set a:=f2(26);
270+
eval load data infile "../../std_data/words.dat" into table t1 (a) set a:=f2(26);
271271
272272
select * from t2;
273273
rollback;
@@ -740,6 +740,6 @@ call p_verify_status_increment(0, 0, 0, 0);
740740
--echo #
741741
--echo # Cleanup
742742
--echo #
743-
drop table t1;
743+
drop table t1, t2, t3;
744744
drop procedure p_verify_status_increment;
745745
drop function f1;

mysql-test/lib/mtr_report.pm

+5-2
Original file line numberDiff line numberDiff line change
@@ -455,11 +455,14 @@ sub mtr_report_stats ($) {
455455
# that can be copy pasted to rerun only failing tests
456456
print "Failing test(s):";
457457

458+
my %seen= ();
458459
foreach my $tinfo (@$tests)
459460
{
460-
if ( $tinfo->{'result'} eq 'MTR_RES_FAILED' )
461+
my $tname= $tinfo->{'name'};
462+
if ( $tinfo->{'result'} eq 'MTR_RES_FAILED' and ! $seen{$tname})
461463
{
462-
print " $tinfo->{'name'}";
464+
print " $tname";
465+
$seen{$tname}= 1;
463466
}
464467
}
465468
print "\n\n";

mysql-test/mysql-test-run.pl

-2
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,6 @@ sub main {
221221
gcov_prepare();
222222
}
223223

224-
mtr_report("Collecting tests...");
225-
226224
if (!$opt_suites)
227225
{
228226
$opt_suites= $DEFAULT_SUITES;

mysql-test/r/commit_1innodb.result

+2-2
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ rollback;
263263
select * from t2;
264264
a
265265
insert into t2 (a) values (1026);
266-
load data infile "../std_data_ln/words.dat" into table t1 (a) set a:=f2(26);
266+
load data infile "../../std_data/words.dat" into table t1 (a) set a:=f2(26);
267267
ERROR 23000: Duplicate entry '26' for key 'a'
268268
select * from t2;
269269
a
@@ -879,6 +879,6 @@ SUCCESS
879879
#
880880
# Cleanup
881881
#
882-
drop table t1;
882+
drop table t1, t2, t3;
883883
drop procedure p_verify_status_increment;
884884
drop function f1;

mysql-test/suite/binlog/r/binlog_multi_engine.result

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ mysqld-bin.000001 # Query # # use `test`; TRUNCATE t1b
3737
mysqld-bin.000001 # Query # # use `test`; TRUNCATE t1n
3838
RESET MASTER;
3939
SET SESSION BINLOG_FORMAT=MIXED;
40-
INSERTs INTO t1b VALUES (1,1), (1,2), (2,1), (2,2);
40+
INSERT INTO t1b VALUES (1,1), (1,2), (2,1), (2,2);
4141
INSERT INTO t1m VALUES (1,1), (1,2), (2,1), (2,2);
4242
INSERT INTO t1n VALUES (1,1), (1,2), (2,1), (2,2);
4343
UPDATE t1m, t1b SET m = 2, b = 3 WHERE n = c;

mysql-test/suite/binlog/r/binlog_unsafe.result

-1
Original file line numberDiff line numberDiff line change
@@ -192,4 +192,3 @@ DROP PROCEDURE proc4;
192192
DROP FUNCTION func5;
193193
DROP PREPARE prep6;
194194
DROP TABLE t1, t2, t3, trigger_table, trigger_table2;
195-
DROP VIEW v1;

mysql-test/suite/binlog/t/binlog_unsafe.test

-1
Original file line numberDiff line numberDiff line change
@@ -236,4 +236,3 @@ DROP PROCEDURE proc4;
236236
DROP FUNCTION func5;
237237
DROP PREPARE prep6;
238238
DROP TABLE t1, t2, t3, trigger_table, trigger_table2;
239-
DROP VIEW v1;

0 commit comments

Comments
 (0)