mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
5487d7a8c0
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()...
15 lines
371 B
Text
15 lines
371 B
Text
source include/master-slave.inc;
|
|
connection master;
|
|
drop table if exists t1;
|
|
create table t1(n int primary key);
|
|
!insert into t1 values (1),(2),(2);
|
|
insert into t1 values (3);
|
|
save_master_pos;
|
|
connection slave;
|
|
sync_with_master;
|
|
select * from t1;
|
|
connection master;
|
|
drop table t1;
|
|
save_master_pos;
|
|
connection slave;
|
|
sync_with_master;
|