mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
14 lines
521 B
Text
14 lines
521 B
Text
include/master-slave.inc
|
|
[connection master]
|
|
set binlog_format = row;
|
|
create table t1 (i int);
|
|
create table t2 (i int);
|
|
SET @old_slave_run_triggers_for_rbr= @@global.slave_run_triggers_for_rbr;
|
|
set global slave_run_triggers_for_rbr=YES;
|
|
create trigger tr_before before insert on t1 for each row
|
|
insert into t2 values (1);
|
|
insert into t1 values (1);
|
|
include/wait_for_slave_sql_error_and_skip.inc [errno=1666]
|
|
drop tables t1,t2;
|
|
SET @@global.slave_run_triggers_for_rbr= @old_slave_run_triggers_for_rbr;
|
|
include/rpl_end.inc
|