mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
14 lines
275 B
Text
14 lines
275 B
Text
include/master-slave.inc
|
|
[connection master]
|
|
create table t1 (n int not null auto_increment primary key);
|
|
insert into t1 values(NULL);
|
|
insert into t1 values(2);
|
|
connection slave;
|
|
select n from t1;
|
|
n
|
|
1
|
|
2
|
|
connection master;
|
|
drop table t1;
|
|
connection slave;
|
|
include/rpl_end.inc
|