mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge 10.6 into 10.11
Some fixes related to commit f838b2d799
and
Rows_log_event::do_apply_event() and Update_rows_log_event::do_exec_row()
for system-versioned tables were provided by Nikita Malyavin.
This was required by test versioning.rpl,trx_id,row.
This commit is contained in:
@ -264,6 +264,30 @@ SET GLOBAL slave_parallel_mode=@old_mode;
|
||||
--source include/start_slave.inc
|
||||
|
||||
|
||||
--echo *** MDEV33426: Memory allocation accounting incorrect for replicated temptable
|
||||
--connection server_1
|
||||
CREATE TEMPORARY TABLE t5 (a int) ENGINE=Aria;
|
||||
CREATE TEMPORARY TABLE t6 (a int) ENGINE=Heap;
|
||||
INSERT INTO t5 VALUES (1);
|
||||
INSERT INTO t6 VALUES (2);
|
||||
--save_master_pos
|
||||
|
||||
--connection server_2
|
||||
--sync_with_master
|
||||
--source include/stop_slave.inc
|
||||
|
||||
--connection server_1
|
||||
INSERT INTO t1 SELECT a+40, 5 FROM t5;
|
||||
INSERT INTO t1 SELECT a+40, 6 FROM t6;
|
||||
DROP TABLE t5, t6;
|
||||
|
||||
--save_master_pos
|
||||
|
||||
--connection server_2
|
||||
--source include/start_slave.inc
|
||||
--sync_with_master
|
||||
SELECT * FROM t1 WHERE a>=40 ORDER BY a;
|
||||
|
||||
# Clean up.
|
||||
|
||||
--connection server_2
|
||||
|
Reference in New Issue
Block a user