Debian Codegraph @

mysql-test/suite/rpl/r/rpl_row_jsondiff_generated_col.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 ######## Configure ########
7 [connection master]
8 include/begin_replace_combination.inc [BOTH.BINLOG_FORMAT=ROW,MIXED,STATEMENT -> GLOBAL.SLAVE_ROWS_SEARCH_ALGORITHMS=INDEX_SCAN,HASH_SCAN,TABLE_SCAN]
9 Warnings:
10 Warning 1287 '@@slave_rows_search_algorithms' is deprecated and will be removed in a future release.
11 Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
12 Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
13 SET @old_binlog_row_image= @@SESSION.BINLOG_ROW_IMAGE;
14 SET @old_binlog_row_value_options= @@SESSION.BINLOG_ROW_VALUE_OPTIONS;
15 SET @@SESSION.BINLOG_ROW_IMAGE= MINIMAL;
16 SET @@SESSION.BINLOG_ROW_VALUE_OPTIONS= PARTIAL_JSON;
17 [connection slave]
18 include/stop_slave_sql.inc
19 include/begin_replace_combination.inc [BOTH.BINLOG_FORMAT=ROW,MIXED,STATEMENT -> GLOBAL.SLAVE_ROWS_SEARCH_ALGORITHMS=INDEX_SCAN,HASH_SCAN,TABLE_SCAN]
20 Warnings:
21 Warning 1287 '@@slave_rows_search_algorithms' is deprecated and will be removed in a future release.
22 Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
23 Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
24 include/start_slave_sql.inc
25 SET @old_binlog_row_image= @@GLOBAL.BINLOG_ROW_IMAGE;
26 SET @old_binlog_row_value_options= @@GLOBAL.BINLOG_ROW_VALUE_OPTIONS;
27 SET @@GLOBAL.BINLOG_ROW_IMAGE= MINIMAL;
28 SET @@GLOBAL.BINLOG_ROW_VALUE_OPTIONS= PARTIAL_JSON;
29 include/stop_slave.inc
30 include/start_slave.inc
31 ######## Initialize ########
32 [connection master]
33 CREATE TABLE t (i INT, j JSON,
34 v VARCHAR(256) AS (JSON_PRETTY(j)) VIRTUAL,
35 s VARCHAR(256) AS (JSON_PRETTY(j)) STORED);
36 INSERT INTO t (j) VALUES ('[{"a":"abc"},{"b":"abcd"}]'),
37 ('{"key":[{"key":"value"},{"key":"value2"}]}');
38 ######## Test ########
39 include/sync_slave_sql_with_master.inc
40 [connection master]
41 include/diff_tables.inc [master:t, slave:t]
42 UPDATE t SET j= JSON_REPLACE(j, '$[0].a',"a");
43 include/sync_slave_sql_with_master.inc
44 [connection master]
45 include/diff_tables.inc [master:t, slave:t]
46 UPDATE t SET j= JSON_SET(j, '$.key[0]', "a");
47 include/sync_slave_sql_with_master.inc
48 [connection master]
49 include/diff_tables.inc [master:t, slave:t]
50 UPDATE t SET j= JSON_REMOVE(j, '$.key[0].key');
51 include/sync_slave_sql_with_master.inc
52 [connection master]
53 include/diff_tables.inc [master:t, slave:t]
54 ######## Clean up ########
55 DROP TABLE t;
56 SET @@SESSION.BINLOG_ROW_VALUE_OPTIONS= @old_binlog_row_value_options;
57 SET @@SESSION.BINLOG_ROW_IMAGE= @old_binlog_row_image;
58 include/end_replace_combination.inc [BOTH.BINLOG_FORMAT=ROW,MIXED,STATEMENT -> GLOBAL.SLAVE_ROWS_SEARCH_ALGORITHMS=INDEX_SCAN,HASH_SCAN,TABLE_SCAN]
59 Warnings:
60 Warning 1287 '@@slave_rows_search_algorithms' is deprecated and will be removed in a future release.
61 Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
62 Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
63 include/sync_slave_sql_with_master.inc
64 SET @@GLOBAL.BINLOG_ROW_VALUE_OPTIONS= @old_binlog_row_value_options;
65 SET @@GLOBAL.BINLOG_ROW_IMAGE= @old_binlog_row_image;
66 include/stop_slave_sql.inc
67 include/end_replace_combination.inc [BOTH.BINLOG_FORMAT=ROW,MIXED,STATEMENT -> GLOBAL.SLAVE_ROWS_SEARCH_ALGORITHMS=INDEX_SCAN,HASH_SCAN,TABLE_SCAN]
68 Warnings:
69 Warning 1287 '@@slave_rows_search_algorithms' is deprecated and will be removed in a future release.
70 Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
71 Warning 1287 '@@binlog_format' is deprecated and will be removed in a future release.
72 include/rpl_end.inc