config root man

Current Path : /home/usr.opt/mysql57/mysql-test/suite/ndb_rpl/r/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //home/usr.opt/mysql57/mysql-test/suite/ndb_rpl/r/ndb_rpl_ui3.result

include/master-slave.inc
Warnings:
Note	####	Sending passwords in plain text without SSL/TLS is extremely insecure.
Note	####	Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
[connection master]
CREATE TABLE t1 (pk int primary key, uk1 int not null, uk2 int not null,
unique(uk1), unique(uk2)) engine=ndb;
insert into t1 values (1,1,1);
insert into t1 values (2,2,2);
insert into t1 values (3,3,3);
insert into t1 values (4,4,4);
insert into t1 values (5,5,5);
select * from t1 where uk1 in (1,2,3,4,5);
pk	uk1	uk2
1	1	1
2	2	2
3	3	3
4	4	4
5	5	5
update t1 set uk1=uk1-1 order by pk;
update t1 set uk2=uk2+1 order by pk desc;
select * from t1 where uk1 in (0,1,2,3,4);
pk	uk1	uk2
1	0	2
2	1	3
3	2	4
4	3	5
5	4	6
Master table contents
select * from t1 order by pk;
pk	uk1	uk2
1	0	2
2	1	3
3	2	4
4	3	5
5	4	6
flush logs;
Slave table contents
select * from t1 order by pk;
pk	uk1	uk2
1	0	2
2	1	3
3	2	4
4	3	5
5	4	6
select * from t1 where uk1 in (0,1,2,3,4);
pk	uk1	uk2
1	0	2
2	1	3
3	2	4
4	3	5
5	4	6
drop table t1;
include/rpl_end.inc

Man Man