Debian Codegraph @

mysql-test/suite/rpl/r/rpl_row_trig004.result

raw
1 include/master-slave.inc
2 Warnings:
3 Note #### Sending passwords in plain text without SSL/TLS is extremely insecure.
4 Note #### Storing MySQL user name or password information in the connection metadata repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START REPLICA; see the 'START REPLICA Syntax' in the MySQL Manual for more information.
5 [connection master]
6 CREATE TABLE test.t1 (n MEDIUMINT NOT NULL AUTO_INCREMENT, d FLOAT, PRIMARY KEY(n))ENGINE=INNODB;
7 CREATE TABLE test.t2 (n MEDIUMINT NOT NULL, f FLOAT, PRIMARY KEY(n))ENGINE=INNODB;
8 CREATE TRIGGER test.t1_bi_t2 BEFORE INSERT ON test.t2 FOR EACH ROW INSERT INTO test.t1 VALUES (NULL, 1.234)//
9 INSERT INTO test.t2 VALUES (1, 0.0);
10 INSERT INTO test.t2 VALUES (1, 0.0);
11 Got one of the listed errors
12 select * from test.t1;
13 n d
14 1 1.234
15 select * from test.t2;
16 n f
17 1 0
18 include/sync_slave_sql_with_master.inc
19 select * from test.t1;
20 n d
21 1 1.234
22 select * from test.t2;
23 n f
24 1 0
25 DROP TRIGGER test.t1_bi_t2;
26 DROP TABLE test.t1;
27 DROP TABLE test.t2;
28 include/sync_slave_sql_with_master.inc
29 include/rpl_end.inc