Debian Codegraph @

mysql-test/suite/group_replication/r/gr_addmember_during_dml.result

raw
1 include/group_replication.inc [rpl_server_count=3]
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 server1]
6
7 [connection server1]
8 include/start_and_bootstrap_group_replication.inc
9
10 [connection server2]
11 include/start_group_replication.inc
12 include/rpl_gr_wait_for_number_of_members.inc
13
14 [connection server3]
15 SET GLOBAL group_replication_group_name= "GROUP_REPLICATION_GROUP_NAME";
16 [connection server1]
17 CREATE TABLE test.t1 ( a int primary key);
18 include/rpl_sync.inc
19 USE test;
20 CREATE PROCEDURE insert_into_t1()
21 BEGIN
22 declare x INT;
23 set x=0;
24 while x<100 do
25 insert into t1 values (x);
26 set x=x+1;
27 end while;
28 end$$
29
30 ----call procedure----
31 call insert_into_t1();
32
33
34 [connection server3]
35 START GROUP_REPLICATION;
36
37 [connection server1]
38
39 [connection server2]
40
41 #Validating the records in server3#
42 [connection server3]
43 include/rpl_sync.inc
44
45 #Validating the records in server2#
46 [connection server2]
47 include/assert.inc ['Checking the number of records in test.t1']
48
49 DROP TABLE test.t1;
50 DROP PROCEDURE insert_into_t1;
51 include/group_replication_end.inc