Skip to content

Commit aea9bca

Browse files
committed
Fixed internal test check warnings in 5.1-bugteam.
1 parent 26e8675 commit aea9bca

File tree

4 files changed

+7
-5
lines changed

4 files changed

+7
-5
lines changed

mysql-test/include/mtr_check.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ BEGIN
1212
-- Dump all global variables except those
1313
-- that are supposed to change
1414
SELECT * FROM INFORMATION_SCHEMA.GLOBAL_VARIABLES
15-
WHERE variable_name != 'timestamp';
15+
WHERE variable_name != 'timestamp' ORDER BY VARIABLE_NAME;
1616

1717
-- Dump all databases, there should be none
1818
-- except those that was created during bootstrap

mysql-test/r/init_file.result

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ SELECT * INTO @Y FROM init_file.startup limit 1,1;
44
SELECT YEAR(@X)-YEAR(@Y);
55
YEAR(@X)-YEAR(@Y)
66
0
7-
DROP DATABASE init_file;
87
ok
98
end of 4.1 tests
109
select * from t1;
@@ -20,4 +19,3 @@ y
2019
3
2120
11
2221
13
23-
drop table t1, t2;

mysql-test/suite/rpl/t/rpl_trigger.test

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,8 @@ while ($rnd)
265265

266266
connection master;
267267
eval drop table t1$rnd;
268+
sync_slave_with_master;
269+
connection master;
268270

269271
dec $rnd;
270272
}

mysql-test/t/init_file.test

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ INSERT INTO init_file.startup VALUES ( NOW() );
1313
SELECT * INTO @X FROM init_file.startup limit 0,1;
1414
SELECT * INTO @Y FROM init_file.startup limit 1,1;
1515
SELECT YEAR(@X)-YEAR(@Y);
16-
DROP DATABASE init_file;
16+
# Enable this DROP DATABASE only after resolving bug #42507
17+
# DROP DATABASE init_file;
1718

1819
--echo ok
1920
--echo end of 4.1 tests
@@ -26,4 +27,5 @@ select * from t1;
2627
# Expected:
2728
# 30, 3, 11, 13
2829
select * from t2;
29-
drop table t1, t2;
30+
# Enable this DROP TABLE only after resolving bug #42507
31+
#drop table t1, t2;

0 commit comments

Comments
 (0)