Skip to content

Commit

Permalink
PS-9071: Merge MySQL 8.3.0 (remove deprecated parallel_doublewrite_pa…
Browse files Browse the repository at this point in the history
…th and parallel_dblwr_encrypt)

https://perconadev.atlassian.net/browse/PS-9071
  • Loading branch information
oleksandr-kachan committed Feb 9, 2024
1 parent cde2f26 commit 3e1731f
Show file tree
Hide file tree
Showing 35 changed files with 51 additions and 258 deletions.
2 changes: 1 addition & 1 deletion mysql-test/r/distinct.result
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,7 @@ DROP TABLE t1;
SET @tmp_table_size_save= @@tmp_table_size;
SET @@tmp_table_size= 1024;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
CREATE TABLE t1 (a INT);
INSERT INTO t1 VALUES (1),(2),(3),(4),(5),(6),(7),(8);
INSERT INTO t1 SELECT a+8 FROM t1;
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/r/error_simulation.result
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ INSERT INTO t1 VALUES
set session internal_tmp_mem_storage_engine='memory';
set tmp_table_size=1024;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
set session debug="d,raise_error";
SELECT MAX(a) FROM t1 GROUP BY a,b;
MAX(a)
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/r/func_gconcat.result
Original file line number Diff line number Diff line change
Expand Up @@ -1227,7 +1227,7 @@ a 3
b,c 5
SET @@tmp_table_size=1024;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
SELECT GROUP_CONCAT(DISTINCT a) FROM t1;
GROUP_CONCAT(DISTINCT a)
a,b,c
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/r/multi_update_innodb.result
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ INSERT INTO t1 VALUES ('a','j',10);
INSERT INTO t1 VALUES ('a','k',11);
SET @@SESSION.tmp_table_size=1024;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
SET @@SESSION.internal_tmp_mem_storage_engine=MEMORY;
UPDATE t1 a, t1 b SET a.c3=22 WHERE a.c1 = b.c1;
SELECT COUNT(*) FROM t1 WHERE c3=22;
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/r/opt_hints_set_var.result
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ SELECT /*+ SET_VAR(tmp_table_size=1024) */ COUNT(DISTINCT a) FROM t1;
COUNT(DISTINCT a)
128
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
SHOW STATUS LIKE 'Created_tmp_files';
Variable_name Value
Created_tmp_files 0
Expand Down
4 changes: 2 additions & 2 deletions mysql-test/r/query_expression.result
Original file line number Diff line number Diff line change
Expand Up @@ -5057,7 +5057,7 @@ SET SESSION optimizer_trace="enabled=on";
# a) When we spill
SET SESSION tmp_table_size=100000;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
SELECT * FROM (SELECT * FROM t INTERSECT SELECT * FROM t) AS derived ORDER BY i LIMIT 20;
i d c
0 2022-04-30 abracadabra
Expand Down Expand Up @@ -5467,7 +5467,7 @@ SET SESSION optimizer_trace="enabled=on";
# a) When we spill
SET SESSION tmp_table_size=100000;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
SELECT * FROM (SELECT * FROM t INTERSECT SELECT * FROM t) AS derived ORDER BY i LIMIT 20;
i d c
0 2022-04-30 abracadabra
Expand Down
4 changes: 2 additions & 2 deletions mysql-test/r/query_expression_debug.result
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ DROP TABLE no_hashing;
SET SESSION optimizer_trace="enabled=on";
SET SESSION tmp_table_size=100000;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
# b) With secondary overflow
SET SESSION debug_set_operations_secondary_overflow_at='0 10 20';
SELECT * FROM (SELECT * FROM t INTERSECT SELECT * FROM t) AS derived ORDER BY i LIMIT 20;
Expand Down Expand Up @@ -429,7 +429,7 @@ DROP TABLE no_hashing;
SET SESSION optimizer_trace="enabled=on";
SET SESSION tmp_table_size=100000;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
# b) With secondary overflow
SET SESSION debug_set_operations_secondary_overflow_at='0 10 20';
SELECT * FROM (SELECT * FROM t INTERSECT SELECT * FROM t) AS derived ORDER BY i LIMIT 20;
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/r/range_all.result
Original file line number Diff line number Diff line change
Expand Up @@ -3372,7 +3372,7 @@ DROP TABLE t1;
SET @old_tmp_table_size=@@tmp_table_size;
SET tmp_table_size=1024;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
CREATE TABLE t1 (
pk INT NOT NULL,
col_int_key INT,
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/r/range_icp.result
Original file line number Diff line number Diff line change
Expand Up @@ -3372,7 +3372,7 @@ DROP TABLE t1;
SET @old_tmp_table_size=@@tmp_table_size;
SET tmp_table_size=1024;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
CREATE TABLE t1 (
pk INT NOT NULL,
col_int_key INT,
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/r/range_icp_mrr.result
Original file line number Diff line number Diff line change
Expand Up @@ -3372,7 +3372,7 @@ DROP TABLE t1;
SET @old_tmp_table_size=@@tmp_table_size;
SET tmp_table_size=1024;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
CREATE TABLE t1 (
pk INT NOT NULL,
col_int_key INT,
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/r/range_mrr.result
Original file line number Diff line number Diff line change
Expand Up @@ -3373,7 +3373,7 @@ DROP TABLE t1;
SET @old_tmp_table_size=@@tmp_table_size;
SET tmp_table_size=1024;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
CREATE TABLE t1 (
pk INT NOT NULL,
col_int_key INT,
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/r/range_mrr_cost.result
Original file line number Diff line number Diff line change
Expand Up @@ -3373,7 +3373,7 @@ DROP TABLE t1;
SET @old_tmp_table_size=@@tmp_table_size;
SET tmp_table_size=1024;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
CREATE TABLE t1 (
pk INT NOT NULL,
col_int_key INT,
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/r/range_none.result
Original file line number Diff line number Diff line change
Expand Up @@ -3372,7 +3372,7 @@ DROP TABLE t1;
SET @old_tmp_table_size=@@tmp_table_size;
SET tmp_table_size=1024;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
CREATE TABLE t1 (
pk INT NOT NULL,
col_int_key INT,
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/r/union.result
Original file line number Diff line number Diff line change
Expand Up @@ -963,7 +963,7 @@ insert into t1 select * from t2;
insert into t2 select * from t1;
set local tmp_table_size=1024;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
select count(*) from (select * from t1 union all select * from t2 order by 1) b;
count(*)
21
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/r/update.result
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ a quux
DROP TABLE t1;
set tmp_table_size=1024;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
create table t1 (id int, a int, key idx(a));
create table t2 (id int unsigned not null auto_increment primary key, a int);
insert into t2(a) values(1),(2),(3),(4),(5),(6),(7),(8);
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/r/variables.result
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,7 @@ set timestamp=1, timestamp=default;
set tmp_table_size=100;
Warnings:
Warning 1292 Truncated incorrect tmp_table_size value: '100'
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
set transaction_isolation="READ-COMMITTED";
set wait_timeout=100;
set global log_error_verbosity=2;
Expand Down
4 changes: 2 additions & 2 deletions mysql-test/r/window_functions.result
Original file line number Diff line number Diff line change
Expand Up @@ -7461,7 +7461,7 @@ Warning 1681 Integer display width is deprecated and will be removed in a future
Warning 1287 'utf8mb3' is deprecated and will be removed in a future release. Please use utf8mb4 instead
SET tmp_table_size= 16384;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
SELECT DISTINCT MAX( table2.`col_varchar_255_utf8` ) AS max1 ,
MIN( table1.`col_date` ) AS min1 ,
AVG( table2.`col_int` ) AS avg1 ,
Expand Down Expand Up @@ -9533,7 +9533,7 @@ INSERT INTO t1 VALUES
SET @@session.max_heap_table_size=16*1024;
SET @@session.tmp_table_size=1024;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
SET optimizer_switch="derived_condition_pushdown=off";
SET SESSION internal_tmp_mem_storage_engine=MEMORY;
SELECT * FROM (SELECT c2, c3, c4, SUM(c1) OVER (PARTITION BY c2) AS wcol FROM t1)o WHERE c2=10;
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/r/window_functions_big.result
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ d summ nth lagg
TRUNCATE cpy;
set tmp_table_size=16384;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
set max_heap_table_size=16384;
Spill frame buffer to INNODB
INSERT INTO cpy SELECT d, SUM(d) OVER w summ, NTH_VALUE(d, 3) OVER w nth, LAG(d, 20) OVER w lagg FROM td
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/r/with_recursive_closure.result
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Variable_name Value
Created_tmp_disk_tables 0
set @@tmp_table_size=1024,@@max_heap_table_size=16384;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
set session internal_tmp_mem_storage_engine='memory';
with recursive closure as
(select @start_node as n union select e from edges, closure where s=closure.n)
Expand Down
6 changes: 3 additions & 3 deletions mysql-test/r/with_recursive_innodb_tmp_table.result
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ set big_tables=0;
# limits and queries.
set @@tmp_table_size=1024,@@max_heap_table_size=16384;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
set cte_max_recursion_depth=5000;
flush status;
with recursive q (b) as
Expand Down Expand Up @@ -212,7 +212,7 @@ Variable_name Value
Created_tmp_disk_tables 1
set @@tmp_table_size=30000,@@max_heap_table_size=30000;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 1292 Truncated incorrect max_heap_table_size value: '30000'
set cte_max_recursion_depth=5000;
flush status;
Expand Down Expand Up @@ -287,7 +287,7 @@ Variable_name Value
Created_tmp_disk_tables 1
set @@tmp_table_size=60000,@@max_heap_table_size=61000;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 1292 Truncated incorrect max_heap_table_size value: '61000'
set cte_max_recursion_depth=5000;
flush status;
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/suite/innodb/r/optimizer_temporary_table.result
Original file line number Diff line number Diff line change
Expand Up @@ -4105,7 +4105,7 @@ set @@session.sql_mode = ANSI;
set @@session.tmp_table_size = 0;
Warnings:
Warning 1292 Truncated incorrect tmp_table_size value: '0'
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
set @@session.big_tables = 1;
select @@big_tables;
@@big_tables
Expand Down
4 changes: 2 additions & 2 deletions mysql-test/suite/opt_trace/r/temp_table.result
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ select @@tmp_table_size;
SET @old_size= @@tmp_table_size;
SET SESSION tmp_table_size= 1024;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
SET SESSION internal_tmp_mem_storage_engine='memory';
INSERT INTO t1 SELECT pk+8, col1, col1 FROM tmp;
SELECT uniq, col1, col2 FROM t1 GROUP BY uniq;
Expand Down Expand Up @@ -1344,7 +1344,7 @@ SET SESSION internal_tmp_mem_storage_engine=MEMORY;
SET @@session.optimizer_trace='enabled=on';
SET @@session.tmp_table_size = 1024;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
SET @@optimizer_switch='semijoin=off';
SELECT name, data FROM t2 WHERE name IN
( SELECT name FROM t1 WHERE type='table');
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/suite/percona/r/bug_ps8647.result
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
call mtr.add_suppression("Tmp_table_size is set below 1MiB.");
set session tmp_table_size=1024;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
select * from information_schema.APPLICABLE_ROLES;
USER HOST GRANTEE GRANTEE_HOST ROLE_NAME ROLE_HOST IS_GRANTABLE IS_DEFAULT IS_MANDATORY
select * from information_schema.ADMINISTRABLE_ROLE_AUTHORIZATIONS;
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/suite/percona/r/encrypt_tmp_files.result
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ DROP TABLE universal_seq;
#
SET SESSION tmp_table_size=1024;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
CREATE TABLE t1(a TEXT,b TEXT);
INSERT INTO t1 VALUES(7553,'7553');
INSERT INTO t1 VALUES(662,'aaaaaaaaaaaaaaaaaaaa');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ INSERT INTO t1 VALUES
SET @@session.max_heap_table_size=16*1024;
SET @@session.tmp_table_size=1024;
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
SET optimizer_switch="derived_condition_pushdown=off";
SET SESSION internal_tmp_mem_storage_engine=MEMORY;
SELECT * FROM (SELECT c2, c3, c4, SUM(c1) OVER (PARTITION BY c2) AS wcol FROM t1)o WHERE c2=10;
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/suite/rpl/r/rpl_opt_hints.result
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CREATE TABLE t1 (f1 INT NOT NULL AUTO_INCREMENT PRIMARY KEY, f2 INT);
INSERT /*+ SET_VAR(auto_increment_increment=10) SET_VAR(tmp_table_size=1024)*/
INTO t1 VALUES (NULL, @@tmp_table_size), (NULL, @@tmp_table_size);
Warnings:
Warning 48040 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Warning 48038 Tmp_table_size is set below 1MiB. The TEMPTABLE engine requires at least 1MiB table size, and will use that value instead. Please increase the limit to silence this warning.
Note 1592 Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it uses a system variable that may have a different value on the replica.
include/sync_slave_sql_with_master.inc
SELECT * FROM t1;
Expand Down
Loading

0 comments on commit 3e1731f

Please sign in to comment.