Debian Codegraph @

mysql-test/suite/rpl/r/rpl_row_jsondiff_binarydiff.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 SET @@SESSION.BINLOG_ROW_IMAGE = 'MINIMAL';
7 SET @@SESSION.BINLOG_ROW_VALUE_OPTIONS = 'PARTIAL_JSON';
8 CREATE TABLE t1(i INT, j1 JSON, o INT, j2 JSON);
9 INSERT INTO t1 VALUES(1, '["Apple", "abcdefghijklmnopqghijklmnopqr"]', 2, '["Orange", "abcdefghijklmnopqghijklmnopqr"]');
10 include/sync_slave_sql_with_master.inc
11 SET @@SESSION.BINLOG_ROW_IMAGE = 'MINIMAL';
12 # Adding debug point 'rpl_row_jsondiff_binarydiff' to @@GLOBAL.debug
13 include/stop_slave_sql.inc
14 [connection master]
15 include/diff_tables.inc [master:t1, slave:t1]
16 UPDATE t1 SET j1 = JSON_REPLACE(j1, '$[0]', 'Mango');
17 [connection slave]
18 include/start_slave_sql.inc
19 SET debug_sync= 'now WAIT_FOR signal.rpl_row_jsondiff_binarydiff_created';
20 ALTER TABLE t1 ADD u JSON;
21 include/stop_slave_sql.inc
22 [connection master]
23 UPDATE t1 SET j1 = JSON_REPLACE(j1, '$[0]', 'Fish');
24 [connection slave]
25 include/start_slave_sql.inc
26 SET debug_sync= 'now WAIT_FOR signal.rpl_row_jsondiff_binarydiff_marked_columns';
27 [connection master]
28 DROP TABLE t1;
29 include/sync_slave_sql_with_master.inc
30 # Removing debug point 'rpl_row_jsondiff_binarydiff' from @@GLOBAL.debug
31 include/rpl_end.inc