Debian Codegraph @

mysql-test/suite/rpl/r/rpl_ps_status_by_worker_index.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 t1 (c1 INT PRIMARY KEY);
7 include/sync_slave_sql_with_master.inc
8 LOCK TABLES t1 READ, performance_schema.threads READ;
9 [connection master]
10 INSERT INTO t1 (c1) VALUES (1);
11 include/sync_slave_io_with_master.inc
12 # check that a worker thread is waiting using the thread id
13 # given as index by the table replication_applier_status_by_worker
14 UNLOCK TABLES;
15 # check that the number of workers in the replication p_s table matches
16 # when their thread id from the replication p_s table is used in
17 # p_s.threads table
18 [connection master]
19 DROP TABLE t1;
20 include/rpl_end.inc