Debian Codegraph @

mysql-test/suite/rpl/r/rpl_statement_digest.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 [connection master]
7 # test for statement_digest()
8 CREATE TABLE test.t1 (a VARCHAR(1000));
9 INSERT INTO test.t1 SELECT statement_digest("SELECT * FROM foo");
10 # test for statement_digest_text()
11 CREATE TABLE test.t2 (a VARCHAR(1000));
12 INSERT INTO test.t2 SELECT statement_digest_text("SELECT * FROM foo");
13 include/sync_slave_sql_with_master.inc
14 [connection master]
15 include/diff_tables.inc [master:test.t1,slave:test.t1]
16 include/diff_tables.inc [master:test.t2,slave:test.t2]
17 SELECT * FROM test.t1;
18 a
19 fc86ab9f4e4275ef861733844e3b2710313376a3a632204f99eecf8ce0855f4d
20 SELECT * FROM test.t2;
21 a
22 SELECT * FROM `foo`
23 # Clean up
24 DROP TABLE test.t1;
25 DROP TABLE test.t2;
26 include/sync_slave_sql_with_master.inc
27 include/rpl_end.inc