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_bug_13440282.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 `loadreptable` (
`nid` int(11) NOT NULL,
`nom` char(255) DEFAULT NULL,
`prenom` char(255) DEFAULT NULL,
`abc` char(255) DEFAULT NULL,
`wkz` char(255) DEFAULT NULL,
`xyz` char(255) DEFAULT NULL,
PRIMARY KEY (`nid`) USING HASH
) ENGINE=ndbcluster DEFAULT CHARSET=latin1;
CREATE PROCEDURE MAJ ()
BEGIN
DECLARE fini INT default 0;
WHILE fini < 20 DO
DELETE FROM loadreptable WHERE nid > 2;
UPDATE loadreptable SET nid=nid+1 ORDER BY nid DESC;
UPDATE loadreptable SET
nom="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
xxx";
INSERT INTO loadreptable VALUES(1,"w","t","y","k","b");
SET fini=fini+1;
END WHILE;
END ;
//
call MAJ();
"master"
select count(*) from loadreptable;
count(*)
3
"slave"
select count(*) from loadreptable;
count(*)
3
call MAJ();
"master"
select count(*) from loadreptable;
count(*)
3
"slave"
select count(*) from loadreptable;
count(*)
3
call MAJ();
"master"
select count(*) from loadreptable;
count(*)
3
"slave"
select count(*) from loadreptable;
count(*)
3
call MAJ();
"master"
select count(*) from loadreptable;
count(*)
3
"slave"
select count(*) from loadreptable;
count(*)
3
call MAJ();
"master"
select count(*) from loadreptable;
count(*)
3
"slave"
select count(*) from loadreptable;
count(*)
3
call MAJ();
"master"
select count(*) from loadreptable;
count(*)
3
"slave"
select count(*) from loadreptable;
count(*)
3
call MAJ();
"master"
select count(*) from loadreptable;
count(*)
3
"slave"
select count(*) from loadreptable;
count(*)
3
call MAJ();
"master"
select count(*) from loadreptable;
count(*)
3
"slave"
select count(*) from loadreptable;
count(*)
3
call MAJ();
"master"
select count(*) from loadreptable;
count(*)
3
"slave"
select count(*) from loadreptable;
count(*)
3
call MAJ();
"master"
select count(*) from loadreptable;
count(*)
3
"slave"
select count(*) from loadreptable;
count(*)
3
drop table loadreptable;
drop procedure MAJ;
include/rpl_end.inc

Man Man