Debian Codegraph @

mysql-test/suite/ndb_rpl/r/ndb_rpl_conv_blob.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 use test;
7 CREATE TABLE t1 (
8 id int(11) NOT NULL,
9 value varbinary(4000), # VARBINARY
10 PRIMARY KEY (id)
11 ) ENGINE=ndbcluster DEFAULT CHARSET=latin1;
12 Warnings:
13 Warning 1681 Integer display width is deprecated and will be removed in a future release.
14 stop slave;
15 Warnings:
16 Warning 1287 'STOP SLAVE' is deprecated and will be removed in a future release. Please use STOP REPLICA instead
17 set global replica_type_conversions='ALL_LOSSY,ALL_NON_LOSSY';
18 start slave;
19 Warnings:
20 Warning 1287 'START SLAVE' is deprecated and will be removed in a future release. Please use START REPLICA instead
21 use test;
22 drop table t1;
23 CREATE TABLE t1 (
24 id int(11) NOT NULL,
25 value blob, # BLOB
26 PRIMARY KEY (id)
27 ) ENGINE=ndbcluster DEFAULT CHARSET=latin1;
28 Warnings:
29 Warning 1681 Integer display width is deprecated and will be removed in a future release.
30 insert into t1(id,value) values(3,repeat(0x23,240));
31 update t1 set value=repeat(0x24,240) where id=3;
32 update t1 set value=repeat(0x25,250) where id=3;
33 update t1 set value=repeat(0x30,400) where id=3;
34 update t1 set value=repeat(0x32,320) where id=3;
35 update t1 set value=repeat(0x33,330) where id=3;
36 select id, length(value), value from test.t1 where id=3;
37 id length(value) value
38 3 330 333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333333
39 delete from test.t1 where id=3;
40 insert into t1(id,value) values(3,repeat('D',2000));
41 update t1 set value=repeat('P',256);
42 select id, length(value), value from test.t1 where id=3;
43 id length(value) value
44 3 256 PPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP
45 update t1 set value=repeat('S', 2000);
46 drop table test.t1;
47 set global replica_type_conversions='';
48 include/rpl_end.inc