Debian Codegraph @

mysql-test/suite/rpl_nogtid/r/rpl_row_001.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 (word CHAR(20) NOT NULL);
7 LOAD DATA INFILE 'LOAD_FILE' INTO TABLE t1;
8 LOAD DATA INFILE 'LOAD_FILE' INTO TABLE t1;
9 SELECT * FROM t1 ORDER BY word LIMIT 10;
10 word
11 Aarhus
12 Aarhus
13 Aarhus
14 Aarhus
15 Aaron
16 Aaron
17 Aaron
18 Aaron
19 Ababa
20 Ababa
21 STOP SLAVE;
22 Warnings:
23 Warning 1287 'STOP SLAVE' is deprecated and will be removed in a future release. Please use STOP REPLICA instead
24 SET PASSWORD FOR root@"localhost" = 'foo';
25 START SLAVE;
26 Warnings:
27 Warning 1287 'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead
28 SET PASSWORD FOR root@"localhost" = '';
29 CREATE TABLE t3(n INT);
30 INSERT INTO t3 VALUES(1),(2);
31 SELECT * FROM t3 ORDER BY n;
32 n
33 1
34 2
35 SELECT SUM(LENGTH(word)) FROM t1;
36 SUM(LENGTH(word))
37 1022
38 DROP TABLE t1,t3;
39 CREATE TABLE t1 (n INT) ENGINE=MYISAM;
40 RESET MASTER;
41 include/stop_slave.inc
42 RESET SLAVE;
43 Warnings:
44 Warning 1287 'RESET SLAVE' is deprecated and will be removed in a future release. Please use RESET REPLICA instead
45 SELECT COUNT(*) FROM t1;
46 COUNT(*)
47 5000
48 include/save_master_pos.inc
49 RESET MASTER;
50 LOCK TABLES t1 READ;
51 include/start_slave.inc
52 include/sync_slave_io.inc
53 UNLOCK TABLES;
54 include/sync_slave_sql_with_io.inc
55 SELECT COUNT(*) FROM t1;
56 COUNT(*)
57 5000
58 DROP TABLE t1;
59 CREATE TABLE t1 (n INT);
60 INSERT INTO t1 VALUES(3456);
61 include/sync_slave_sql_with_master.inc
62 SELECT n FROM t1;
63 n
64 3456
65 DROP TABLE t1;
66 # mysql.user table restored to original values.
67 include/sync_slave_sql_with_master.inc
68 include/rpl_end.inc