Skip to content

Commit 5d6f49f

Browse files
committed
Bug#35327006 Stabilize the weekly runs [noclose]
Fix tests that can't run with binlog off because the deprecation warning gets in the way. Change-Id: Ibe46379eecf1852cd66b128056cf9dd3aea2e657
1 parent 5c51403 commit 5d6f49f

14 files changed

+15
-88
lines changed

mysql-test/r/insert.result

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
Warnings:
2-
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
3-
Warnings:
4-
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
51
SET sql_mode = 'NO_ENGINE_SUBSTITUTION';
62
create table t1 (a int not null);
73
insert into t1 values (1);
@@ -981,8 +977,6 @@ DROP VIEW view_target2;
981977
DROP VIEW view_target3;
982978
DROP USER user20989@localhost;
983979
DROP DATABASE meow;
984-
Warnings:
985-
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
986980
#
987981
# Bug#28836669: Only first set of duplicate columns are reported for INSERT
988982
#

mysql-test/r/plugin.result

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
Warnings:
2-
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
3-
Warnings:
4-
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
51
CREATE TABLE t1(a int) ENGINE=EXAMPLE;
62
ERROR 42000: Unknown storage engine 'EXAMPLE'
73
INSTALL PLUGIN example SONAME 'ha_example.so';
@@ -244,8 +240,6 @@ UNINSTALL PLUGIN example;
244240
DROP USER bug51770@localhost;
245241
INSTALL PLUGIN example SONAME '../ha_example.so';
246242
ERROR HY000: No paths allowed for shared library
247-
Warnings:
248-
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
249243
#
250244
# Bug #28534414: NEGATIVE NUMBERS IN PLUGIN VARIABLES
251245
# NOT DISPLAYED CORRECTLY

mysql-test/r/subquery_sj_all.result

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
Warnings:
2-
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
3-
Warnings:
4-
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
51
set optimizer_switch='semijoin=on,materialization=on,firstmatch=on,loosescan=on,index_condition_pushdown=on,mrr=on,mrr_cost_based=off';
62
set @old_opt_switch=@@optimizer_switch;
73
set optimizer_switch='subquery_materialization_cost_based=off';
@@ -13536,5 +13532,3 @@ f1 f2
1353613532
14:51:13 S
1353713533
DROP TABLE t1, t2;
1353813534
set optimizer_switch=default;
13539-
Warnings:
13540-
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.

mysql-test/r/subquery_sj_all_bka.result

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
set optimizer_switch='batched_key_access=on,mrr_cost_based=off';
2-
Warnings:
3-
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
4-
Warnings:
5-
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
62
set optimizer_switch='semijoin=on,materialization=on,firstmatch=on,loosescan=on,index_condition_pushdown=on,mrr=on,mrr_cost_based=off';
73
set @old_opt_switch=@@optimizer_switch;
84
set optimizer_switch='subquery_materialization_cost_based=off';
@@ -13539,6 +13535,4 @@ f1 f2
1353913535
14:51:13 S
1354013536
DROP TABLE t1, t2;
1354113537
set optimizer_switch=default;
13542-
Warnings:
13543-
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
1354413538
set optimizer_switch=default;

mysql-test/r/subquery_sj_all_bka_nobnl.result

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
set optimizer_switch='batched_key_access=on,block_nested_loop=off,mrr_cost_based=off';
2-
Warnings:
3-
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
4-
Warnings:
5-
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
62
set optimizer_switch='semijoin=on,materialization=on,firstmatch=on,loosescan=on,index_condition_pushdown=on,mrr=on,mrr_cost_based=off';
73
set @old_opt_switch=@@optimizer_switch;
84
set optimizer_switch='subquery_materialization_cost_based=off';
@@ -13529,6 +13525,4 @@ f1 f2
1352913525
14:51:13 S
1353013526
DROP TABLE t1, t2;
1353113527
set optimizer_switch=default;
13532-
Warnings:
13533-
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
1353413528
set optimizer_switch=default;

mysql-test/r/subquery_sj_mat.result

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
Warnings:
2-
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
3-
Warnings:
4-
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
51
set optimizer_switch='semijoin=on,materialization=on';
62
set @old_opt_switch=@@optimizer_switch;
73
set optimizer_switch='subquery_materialization_cost_based=off';
@@ -13844,5 +13840,3 @@ f1 f2
1384413840
14:51:13 S
1384513841
DROP TABLE t1, t2;
1384613842
set optimizer_switch=default;
13847-
Warnings:
13848-
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.

mysql-test/r/subquery_sj_mat_bka.result

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
set optimizer_switch='batched_key_access=on,mrr_cost_based=off';
2-
Warnings:
3-
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
4-
Warnings:
5-
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
62
set optimizer_switch='semijoin=on,materialization=on';
73
set @old_opt_switch=@@optimizer_switch;
84
set optimizer_switch='subquery_materialization_cost_based=off';
@@ -13845,6 +13841,4 @@ f1 f2
1384513841
14:51:13 S
1384613842
DROP TABLE t1, t2;
1384713843
set optimizer_switch=default;
13848-
Warnings:
13849-
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
1385013844
set optimizer_switch=default;

mysql-test/r/subquery_sj_mat_bka_nobnl.result

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
set optimizer_switch='batched_key_access=on,block_nested_loop=off,mrr_cost_based=off';
2-
Warnings:
3-
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
4-
Warnings:
5-
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
62
set optimizer_switch='semijoin=on,materialization=on';
73
set @old_opt_switch=@@optimizer_switch;
84
set optimizer_switch='subquery_materialization_cost_based=off';
@@ -13836,6 +13832,4 @@ f1 f2
1383613832
14:51:13 S
1383713833
DROP TABLE t1, t2;
1383813834
set optimizer_switch=default;
13839-
Warnings:
13840-
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
1384113835
set optimizer_switch=default;

mysql-test/suite/innodb/r/select_count_perf.result

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
# by count(*) always reflects the correct view of the table according
55
# to the transaction's selected isolation level.
66
#
7-
Warnings:
8-
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
9-
Warnings:
10-
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
117
#
128
# Traverse various indexes to get the right counts.
139
# This especially tests count(*) which is pushed down to InnoDB in WL#6742.
@@ -1895,5 +1891,3 @@ id select_type table partitions type possible_keys key key_len ref rows filtered
18951891
Warnings:
18961892
Note 1003 /* select#1 */ select count(0) AS `COUNT(*)` from `test`.`t1` FORCE INDEX (`c2_idx`) join `test`.`t2`
18971893
DROP TABLE t1, t2;
1898-
Warnings:
1899-
Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.

mysql-test/suite/innodb/t/select_count_perf.test

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,11 @@
1414
if (`SELECT @@global.log_bin AND @@global.binlog_format = 'ROW'`)
1515
{
1616
--disable_query_log
17+
# Avoid warnings since binlog_format is deprecated
18+
--disable_warnings
1719
SET @saved_binlog_format= @@SESSION.binlog_format;
1820
SET SESSION binlog_format= MIXED;
21+
--enable_warnings
1922
--enable_query_log
2023
}
2124

@@ -401,6 +404,8 @@ DROP TABLE t1, t2;
401404
if (`SELECT @@global.log_bin AND @@global.binlog_format = 'ROW'`)
402405
{
403406
--disable_query_log
407+
--disable_warnings
404408
SET SESSION binlog_format= @saved_binlog_format;
409+
--enable_warnings
405410
--enable_query_log
406411
}

0 commit comments

Comments
 (0)