Debian Codegraph @

mysql-test/suite/rpl/r/rpl_row_sp010.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 PROCEDURE test.p1()
7 BEGIN
8 INSERT INTO test.t1 VALUES(2);
9 END|
10 CREATE PROCEDURE test.p2()
11 BEGIN
12 DROP TEMPORARY TABLE IF EXISTS test.t1;
13 CREATE TEMPORARY TABLE test.t1 (a int, PRIMARY KEY(a));
14 INSERT INTO test.t1 VALUES(1);
15 CALL test.p1();
16 END|
17 CALL test.p2();
18 SELECT * FROM test.t1 ORDER BY a;
19 a
20 1
21 2
22 include/sync_slave_sql_with_master.inc
23 show tables;
24 Tables_in_test
25 CREATE PROCEDURE test.p3()
26 BEGIN
27 INSERT INTO test.t2 VALUES(7);
28 END|
29 CREATE PROCEDURE test.p4()
30 BEGIN
31 DROP TABLE IF EXISTS test.t2;
32 CREATE TABLE test.t2 (a int, PRIMARY KEY(a));
33 INSERT INTO test.t2 VALUES(6);
34 CALL test.p3();
35 END|
36 CALL test.p4();
37 SELECT * FROM test.t2 ORDER BY a;
38 a
39 6
40 7
41 include/sync_slave_sql_with_master.inc
42 SELECT * FROM test.t2 ORDER BY a;
43 a
44 6
45 7
46 DROP PROCEDURE IF EXISTS test.p1;
47 DROP PROCEDURE IF EXISTS test.p2;
48 DROP PROCEDURE IF EXISTS test.p3;
49 DROP PROCEDURE IF EXISTS test.p4;
50 DROP TABLE IF EXISTS test.t1;
51 DROP TABLE IF EXISTS test.t2;
52 include/sync_slave_sql_with_master.inc
53 include/rpl_end.inc