2
# Some special cases with empty tables
6
drop table if exists t1;
9
set global myisam_data_pointer_size=2;
10
CREATE TABLE t1 (a int auto_increment primary key not null, b longtext) ENGINE=MyISAM;
16
INSERT INTO t1 SET b=repeat('a',200);
21
DELETE FROM t1 WHERE a=1 or a=5;
24
INSERT INTO t1 SET b=repeat('a',600);
25
CHECK TABLE t1 EXTENDED;
28
UPDATE t1 SET b=repeat('a', 800) where a=10;
29
CHECK TABLE t1 EXTENDED;
31
INSERT INTO t1 SET b=repeat('a',400);
32
CHECK TABLE t1 EXTENDED;
34
DELETE FROM t1 WHERE a=2 or a=6;
35
UPDATE t1 SET b=repeat('a', 600) where a=11;
36
CHECK TABLE t1 EXTENDED;
39
set global myisam_data_pointer_size=default;