mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
06df6fc137
Patch corrects minor test anomolies and build warnings.
742 lines
24 KiB
Text
742 lines
24 KiB
Text
stop slave;
|
||
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||
reset master;
|
||
reset slave;
|
||
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
||
start slave;
|
||
set binlog_format=row;
|
||
CREATE TABLE t1 (f1 INT, f2 INT, f3 INT PRIMARY KEY, f4 CHAR(20),
|
||
/* extra */
|
||
f5 FLOAT DEFAULT '2.00',
|
||
f6 CHAR(4) DEFAULT 'TEST',
|
||
f7 INT DEFAULT '0',
|
||
f8 TEXT,
|
||
f9 LONGBLOB,
|
||
f10 BIT(63),
|
||
f11 VARBINARY(64))
|
||
ENGINE='MyISAM';
|
||
alter table t1 drop f5, drop f6, drop f7, drop f8, drop f9, drop f10, drop f11;
|
||
INSERT into t1 values (1, 1, 1, 'first', 1.0, 'yksi', 1, 'lounge of happiness', 'very fat blob', b'01010101010101', 0x123456);
|
||
INSERT into t1 values (2, 2, 2, 'second', 2.0, 'kaks', 2, 'got stolen from the paradise', 'very fat blob', b'01010101010101', 0x123456), (3, 3, 3, 'third', 3.0, 'kolm', 3, 'got stolen from the paradise', 'very fat blob', b'01010101010101', 0x123456);
|
||
update t1 set f4= 'next' where f1=1;
|
||
delete from t1 where f1=1;
|
||
select * from t1 order by f3;
|
||
f1 f2 f3 f4 f5 f6 f7 f8 f9 f10 f11
|
||
2 2 2 second 2 kaks 2 got stolen from the paradise very fat blob |