Debian Codegraph @

mysql-test/suite/rpl/r/rpl_seconds_behind_master.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 call mtr.add_suppression('Unsafe statement binlogged in statement format since BINLOG_FORMAT = STATEMENT');
7 create table t1 (f1 int);
8 include/sync_slave_sql_with_master.inc
9 include/stop_slave.inc
10 insert into t1 values (1);
11 lock table t1 write;
12 include/start_slave.inc
13 include/assert.inc [Seconds_Behind_Master must be between 'lower_bound' and 'upper_bound']
14 unlock tables;
15 include/sync_slave_sql_with_master.inc
16 lock table t1 write;
17 insert into t1 values (2);
18 flush logs;
19 include/assert.inc [Seconds_Behind_Master must be between 'lower_bound' and 'upper_bound']
20 unlock tables;
21 drop table t1;
22 include/sync_slave_sql_with_master.inc
23 include/rpl_reset.inc
24 # Adding debug point 'dec_event_time_by_1_hour' to @@GLOBAL.debug
25 CREATE TABLE t1 (a INT);
26 include/sync_slave_sql_with_master.inc
27 include/assert.inc [Seconds_Behind_Master must be 0]
28 LOCK TABLE t1 WRITE;
29 INSERT INTO t1 VALUES (3);
30 include/assert.inc [Seconds_Behind_Master must be greater or equal than 'lower_bound']
31 UNLOCK TABLES;
32 # Removing debug point 'dec_event_time_by_1_hour' from @@GLOBAL.debug
33 include/sync_slave_sql_with_master.inc
34 include/stop_slave.inc
35 CHANGE REPLICATION SOURCE TO SOURCE_DELAY= 10;
36 [connection master]
37 INSERT INTO t1 VALUES (47);
38 [connection slave]
39 LOCK TABLE t1 WRITE;
40 include/start_slave.inc
41 include/assert.inc [Seconds_Behind_Master must be between 'lower_bound' and 'upper_bound']
42 UNLOCK TABLES;
43 [connection master]
44 include/sync_slave_sql_with_master.inc
45 include/stop_slave.inc
46 CHANGE REPLICATION SOURCE TO SOURCE_DELAY= 0;
47 include/start_slave.inc
48 [connection master]
49 DROP TABLE t1;
50 include/sync_slave_sql_with_master.inc
51 include/rpl_end.inc