Debian Codegraph @

mysql-test/suite/rpl_ndb/r/rpl_ndb_set_null.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 select @@global.slave_rows_search_algorithms;
7 @@global.slave_rows_search_algorithms
8 INDEX_SCAN,HASH_SCAN
9 Warnings:
10 Warning 1287 '@@slave_rows_search_algorithms' is deprecated and will be removed in a future release.
11 set @saved_slave_rows_search_algorithms= @@global.slave_rows_search_algorithms;
12 Warnings:
13 Warning 1287 '@@slave_rows_search_algorithms' is deprecated and will be removed in a future release.
14 set @@global.slave_rows_search_algorithms= 'TABLE_SCAN,INDEX_SCAN';
15 Warnings:
16 Warning 1287 '@@slave_rows_search_algorithms' is deprecated and will be removed in a future release.
17 include/rpl_reset.inc
18 CREATE TABLE t1 (c1 BIT, c2 INT) Engine=NDB;
19 INSERT INTO `t1` VALUES ( 1, 1 );
20 UPDATE t1 SET c1=NULL where c2=1;
21 include/sync_slave_sql_with_master.inc
22 include/diff_tables.inc [master:t1, slave:t1]
23 DELETE FROM t1 WHERE c2=1 LIMIT 1;
24 include/sync_slave_sql_with_master.inc
25 include/diff_tables.inc [master:t1, slave:t1]
26 DROP TABLE t1;
27 include/sync_slave_sql_with_master.inc
28 include/rpl_reset.inc
29 CREATE TABLE t1 (c1 CHAR) Engine=NDB;
30 INSERT INTO t1 ( c1 ) VALUES ( 'w' ) ;
31 SELECT * FROM t1;
32 c1
33 w
34 UPDATE t1 SET c1=NULL WHERE c1='w';
35 include/sync_slave_sql_with_master.inc
36 include/diff_tables.inc [master:t1, slave:t1]
37 DELETE FROM t1 LIMIT 2;
38 include/sync_slave_sql_with_master.inc
39 include/diff_tables.inc [master:t1, slave:t1]
40 DROP TABLE t1;
41 include/sync_slave_sql_with_master.inc
42 set @@global.slave_rows_search_algorithms= @saved_slave_rows_search_algorithms;
43 Warnings:
44 Warning 1287 '@@slave_rows_search_algorithms' is deprecated and will be removed in a future release.
45 include/rpl_end.inc