mirror of
https://github.com/MariaDB/server.git
synced 2025-11-28 17:36:30 +03:00
13 lines
331 B
Plaintext
13 lines
331 B
Plaintext
include/master-slave.inc
|
|
[connection master]
|
|
create table t1 (i1 int, a1 text, unique key i1 (a1)) engine=myisam;
|
|
insert into t1 values (1,1);
|
|
insert into t1 values (2,2);
|
|
update t1 set a1 = 'd' limit 1;
|
|
update t1 set a1 = 'd2' where i1= 2;
|
|
connection slave;
|
|
connection slave;
|
|
connection master;
|
|
drop table t1;
|
|
include/rpl_end.inc
|