include/master-slave.inc
[connection master]
#
# Start of 10.5 tests
#
#
# MDEV-4958 Adding datatype UUID
#
CREATE TABLE t1 (a BINARY(16));
connection slave;
ALTER TABLE t1 MODIFY a UUID;
connection master;
INSERT INTO t1 VALUES (X'00000000000000000000000000000000');
INSERT INTO t1 VALUES (X'00000000000000000000000000000001');
INSERT INTO t1 VALUES (X'fffffffffffffffffffffffffffffffe');
INSERT INTO t1 VALUES (X'ffffffffffffffffffffffffffffffff');
SELECT HEX(a) FROM t1 ORDER BY a;
HEX(a)
00000000000000000000000000000000
00000000000000000000000000000001
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFE
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
connection slave;
SELECT * FROM t1 ORDER BY a;
a
00000000-0000-0000-0000-000000000000
00000000-0000-0000-0000-000000000001
ffffffff-ffff-ffff-ffff-fffffffffffe
ffffffff-ffff-ffff-ffff-ffffffffffff
connection master;
DROP TABLE t1;
#
# End of 10.5 tests
#
include/rpl_end.inc
