mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
19 lines
529 B
Text
19 lines
529 B
Text
source include/master-slave.inc;
|
|
connection master;
|
|
drop table if exists x;
|
|
create table x(n int);
|
|
create temporary table t(n int);
|
|
insert into t values(1),(2),(3);
|
|
insert into x select * from t;
|
|
connection master1;
|
|
create temporary table t (n int);
|
|
insert into t values (4),(5);
|
|
insert into x select * from t;
|
|
disconnect master;
|
|
connection master1;
|
|
insert into x values(6);
|
|
disconnect master1;
|
|
connection slave;
|
|
sleep 1;
|
|
@r/rpl000012.result select * from x;
|
|
@r/rpl000012.status.result show status like 'Slave_open_temp_tables';
|