mirror of
https://github.com/MariaDB/server.git
synced 2025-08-29 00:08:14 +03:00

Removed usage of @r/result as this made life hard when testing different table handlers. Allow concurrent inserts if no update/binary log. Don't remove key_cache at flush tables. Fixed bug in SELECT DISTINCT SUM()...
24 lines
440 B
Plaintext
24 lines
440 B
Plaintext
source include/master-slave.inc;
|
|
connection master;
|
|
use test;
|
|
drop table if exists t1;
|
|
create table t1 (n int);
|
|
insert into t1 values(1);
|
|
save_master_pos;
|
|
connection slave;
|
|
sync_with_master;
|
|
slave stop;
|
|
slave start;
|
|
connection master;
|
|
insert into t1 values(2);
|
|
save_master_pos;
|
|
connection slave;
|
|
#let slave catch up
|
|
sync_with_master;
|
|
select * from t1;
|
|
connection master;
|
|
drop table t1;
|
|
save_master_pos;
|
|
connection slave;
|
|
sync_with_master;
|