[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@3.147.45.159: ~ $
include/master-slave.inc
[connection master]
DROP TABLE IF EXISTS test.t1;
DROP TABLE IF EXISTS test.t2;
*****  Table Create Section ****

CREATE TABLE test.t1 (c1 int not null auto_increment, 
data LONGBLOB, PRIMARY KEY(c1))ENGINE=#;

**** Data Insert Section test.t1 *****

INSERT INTO test.t1 VALUES (NULL, NULL);
INSERT INTO test.t1 VALUES (NULL, repeat('a',1*1024));
INSERT INTO test.t1 VALUES (NULL, repeat('b',16*1024));

**** Data Insert Validation Master Section test.t1 ****

SELECT LENGTH(data) FROM test.t1 WHERE c1 = 1;
LENGTH(data)
NULL
SELECT LENGTH(data) FROM test.t1 WHERE c1 = 2;
LENGTH(data)
1024
SELECT LENGTH(data) FROM test.t1 WHERE c1 = 3;
LENGTH(data)
16384
include/sync_slave_sql_with_master.inc

**** Data Insert Validation Slave Section test.t1 ****

SELECT LENGTH(data) FROM test.t1 WHERE c1 = 1;
LENGTH(data)
NULL
SELECT LENGTH(data) FROM test.t1 WHERE c1 = 2;
LENGTH(data)
1024
SELECT LENGTH(data) FROM test.t1 WHERE c1 = 3;
LENGTH(data)
16384

**** Data Update Section test.t1 ****

UPDATE test.t1 set data=repeat('a',18*1024) where c1 = 1;
UPDATE t1 set data=repeat('c',17*1024) where c1 = 2;

**** Data Update Validation Master Section test.t1 ****

SELECT LENGTH(data) FROM test.t1 WHERE c1 = 1;
LENGTH(data)
18432
SELECT LENGTH(data) FROM test.t1 WHERE c1 = 2;
LENGTH(data)
17408
include/sync_slave_sql_with_master.inc

**** Data Update Validation Slave Section test.t1 ****

SELECT LENGTH(data) FROM test.t1 WHERE c1 = 1;
LENGTH(data)
18432
SELECT LENGTH(data) FROM test.t1 WHERE c1 = 2;
LENGTH(data)
17408

**** End Test Section test.t1 ****

**** Create Table test.t2 ****

CREATE TABLE test.t2 (
c1 INT NOT NULL PRIMARY KEY,
c2 TEXT,
c3 INT,
c4 LONGBLOB,
KEY(c3))ENGINE=#;

*** Setup Values For test.t2 ***
set @x0 = '01234567012345670123456701234567';
set @x0 = concat(@x0,@x0,@x0,@x0,@x0,@x0,@x0,@x0);
set @b1 = 'b1';
set @b1 = concat(@b1,@b1,@b1,@b1,@b1,@b1,@b1,@b1,@b1,@b1);
set @b1 = concat(@b1,@b1,@b1,@b1,@b1,@b1,@b1,@b1,@b1,@b1);
set @b1 = concat(@b1,@b1,@b1,@b1,@b1,@b1,@b1,@b1,@b1,@b1);
set @b1 = concat(@b1,@x0);
set @d1 = 'dd1';
set @d1 = concat(@d1,@d1,@d1,@d1,@d1,@d1,@d1,@d1,@d1,@d1);
set @d1 = concat(@d1,@d1,@d1,@d1,@d1,@d1,@d1,@d1,@d1,@d1);
set @d1 = concat(@d1,@d1,@d1,@d1,@d1,@d1,@d1,@d1,@d1,@d1);
set @b2 = 'b2';
set @b2 = concat(@b2,@b2,@b2,@b2,@b2,@b2,@b2,@b2,@b2,@b2);
set @b2 = concat(@b2,@b2,@b2,@b2,@b2,@b2,@b2,@b2,@b2,@b2);
set @b2 = concat(@b2,@b2,@b2,@b2,@b2,@b2,@b2,@b2,@b2,@b2);
set @b2 = concat(@b2,@b2,@b2,@b2,@b2,@b2,@b2,@b2,@b2,@b2);
set @d2 = 'dd2';
set @d2 = concat(@d2,@d2,@d2,@d2,@d2,@d2,@d2,@d2,@d2,@d2);
set @d2 = concat(@d2,@d2,@d2,@d2,@d2,@d2,@d2,@d2,@d2,@d2);
set @d2 = concat(@d2,@d2,@d2,@d2,@d2,@d2,@d2,@d2,@d2,@d2);
set @d2 = concat(@d2,@d2,@d2,@d2,@d2,@d2,@d2,@d2,@d2,@d2);

**** Data Insert Section test.t2 *****

INSERT INTO test.t2 VALUES(1,@b1,111,@d1);
INSERT INTO test.t2 VALUES(2,@b2,222,@d2);

**** Data Insert Validation Master Section test.t2 ****

SELECT c1, LENGTH(c2), SUBSTR(c2,1+2*900,2), LENGTH(c4), SUBSTR(c4,1+3*900,3)
FROM test.t2 WHERE c1=1;
c1	LENGTH(c2)	SUBSTR(c2,1+2*900,2)	LENGTH(c4)	SUBSTR(c4,1+3*900,3)
1	2256	b1	3000	dd1
SELECT c1, LENGTH(c2), SUBSTR(c2,1+2*900,2), LENGTH(c4), SUBSTR(c4,1+3*900,3)
FROM test.t2 WHERE c1=2;
c1	LENGTH(c2)	SUBSTR(c2,1+2*900,2)	LENGTH(c4)	SUBSTR(c4,1+3*900,3)
2	20000	b2	30000	dd2
include/sync_slave_sql_with_master.inc

**** Data Insert Validation Slave Section test.t2 ****

SELECT c1, LENGTH(c2), SUBSTR(c2,1+2*900,2), LENGTH(c4), SUBSTR(c4,1+3*900,3)
FROM test.t2 WHERE c1=1;
c1	LENGTH(c2)	SUBSTR(c2,1+2*900,2)	LENGTH(c4)	SUBSTR(c4,1+3*900,3)
1	2256	b1	3000	dd1
SELECT c1, LENGTH(c2), SUBSTR(c2,1+2*900,2), LENGTH(c4), SUBSTR(c4,1+3*900,3)
FROM test.t2 WHERE c1=2;
c1	LENGTH(c2)	SUBSTR(c2,1+2*900,2)	LENGTH(c4)	SUBSTR(c4,1+3*900,3)
2	20000	b2	30000	dd2

**** Data Update Section test.t2 ****

UPDATE test.t2 SET c2=@b2, c4=@d2 WHERE c1=1;
UPDATE test.t2 SET c2=@b1, c4=@d1 WHERE c1=2;

**** Data Update Validation Master Section test.t2 ****

SELECT c1, LENGTH(c2), SUBSTR(c2,1+2*900,2), LENGTH(c4), SUBSTR(c4,1+3*900,3)
FROM test.t2 WHERE c1=1;
c1	LENGTH(c2)	SUBSTR(c2,1+2*900,2)	LENGTH(c4)	SUBSTR(c4,1+3*900,3)
1	20000	b2	30000	dd2
SELECT c1, LENGTH(c2), SUBSTR(c2,1+2*900,2), LENGTH(c4), SUBSTR(c4,1+3*900,3)
FROM test.t2 WHERE c1=2;
c1	LENGTH(c2)	SUBSTR(c2,1+2*900,2)	LENGTH(c4)	SUBSTR(c4,1+3*900,3)
2	2256	b1	3000	dd1
include/sync_slave_sql_with_master.inc

**** Data Update Validation Slave Section test.t2 ****

SELECT c1, LENGTH(c2), SUBSTR(c2,1+2*900,2), LENGTH(c4), SUBSTR(c4,1+3*900,3)
FROM test.t2 WHERE c1=1;
c1	LENGTH(c2)	SUBSTR(c2,1+2*900,2)	LENGTH(c4)	SUBSTR(c4,1+3*900,3)
1	20000	b2	30000	dd2
SELECT c1, LENGTH(c2), SUBSTR(c2,1+2*900,2), LENGTH(c4), SUBSTR(c4,1+3*900,3)
FROM test.t2 WHERE c1=2;
c1	LENGTH(c2)	SUBSTR(c2,1+2*900,2)	LENGTH(c4)	SUBSTR(c4,1+3*900,3)
2	2256	b1	3000	dd1

DROP TABLE IF EXISTS test.t1;
DROP TABLE IF EXISTS test.t2;
include/sync_slave_sql_with_master.inc
include/rpl_end.inc

Filemanager

Name Type Size Permission Actions
rpl_ndb_UUID.result File 1.01 KB 0644
rpl_ndb_blob2.result File 4.85 KB 0644
rpl_ndb_commit_afterflush.result File 201 B 0644
rpl_ndb_ddl.result File 30 KB 0644
rpl_ndb_delete_nowhere.result File 332 B 0644
rpl_ndb_dist_priv.result File 9.43 KB 0644
rpl_ndb_extra_col_master.result File 54.02 KB 0644
rpl_ndb_extra_col_slave.result File 17.98 KB 0644
rpl_ndb_func003.result File 862 B 0644
rpl_ndb_insert_ignore.result File 1.13 KB 0644
rpl_ndb_mixed_implicit_commit_binlog.result File 31.39 KB 0644
rpl_ndb_multi_update2.result File 1 KB 0644
rpl_ndb_multi_update3.result File 3.46 KB 0644
rpl_ndb_relayrotate.result File 257 B 0644
rpl_ndb_row_001.result File 923 B 0644
rpl_ndb_row_basic.result File 19.41 KB 0644
rpl_ndb_row_implicit_commit_binlog.result File 31.57 KB 0644
rpl_ndb_set_null.result File 988 B 0644
rpl_ndb_sp003.result File 1.13 KB 0644
rpl_ndb_sp006.result File 1.16 KB 0644
rpl_ndb_trig004.result File 819 B 0644
rpl_ndb_typeconv_all.result File 1.47 KB 0644
rpl_ndb_typeconv_lossy.result File 1.44 KB 0644
rpl_ndb_typeconv_nonlossy.result File 1.45 KB 0644
rpl_ndb_typeconv_strict.result File 1.43 KB 0644