1
by brian
clean slate |
1 |
#
|
2 |
# Some special cases with empty tables
|
|
3 |
#
|
|
4 |
||
5 |
--disable_warnings |
|
6 |
drop table if exists t1; |
|
7 |
--enable_warnings |
|
8 |
||
642.1.69
by Lee
enable more tests and a few Solaris code clean ups |
9 |
#Drizzle does not support global myisam_data_pointer_size system variable
|
10 |
#set global myisam_data_pointer_size=2;
|
|
1
by brian
clean slate |
11 |
CREATE TABLE t1 (a int auto_increment primary key not null, b longtext) ENGINE=MyISAM; |
12 |
||
13 |
--disable_query_log |
|
14 |
let $1= 303; |
|
15 |
while ($1) |
|
16 |
{
|
|
17 |
INSERT INTO t1 SET b=repeat('a',200); |
|
18 |
dec $1; |
|
19 |
}
|
|
20 |
--enable_query_log |
|
21 |
||
642.1.69
by Lee
enable more tests and a few Solaris code clean ups |
22 |
#DELETE FROM t1 WHERE a=1 or a=5;
|
23 |
||
24 |
--error 1114 |
|
25 |
#INSERT INTO t1 SET b=repeat('a',600);
|
|
26 |
#CHECK TABLE t1 EXTENDED;
|
|
27 |
||
28 |
--error 1114 |
|
29 |
#UPDATE t1 SET b=repeat('a', 800) where a=10;
|
|
30 |
#CHECK TABLE t1 EXTENDED;
|
|
31 |
||
32 |
#INSERT INTO t1 SET b=repeat('a',400);
|
|
33 |
#CHECK TABLE t1 EXTENDED;
|
|
34 |
||
35 |
#DELETE FROM t1 WHERE a=2 or a=6;
|
|
36 |
#UPDATE t1 SET b=repeat('a', 600) where a=11;
|
|
37 |
#CHECK TABLE t1 EXTENDED;
|
|
38 |
#drop table t1;
|
|
39 |
||
40 |
#set global myisam_data_pointer_size=default;
|
|
1
by brian
clean slate |
41 |
|
42 |
# End of 4.1 tests
|