~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/almost_full.test

  • Committer: Brian Aker
  • Date: 2010-02-07 01:33:54 UTC
  • Revision ID: brian@gaz-20100207013354-d2pg1n68u5c09pgo
Remove giant include header to its own file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
drop table if exists t1;
7
7
--enable_warnings
8
8
 
9
 
set global myisam_data_pointer_size=2;
10
 
CREATE TABLE t1 (a int auto_increment primary key not null, b longtext) ENGINE=MyISAM;
 
9
#Drizzle does not support global myisam_data_pointer_size system variable
 
10
#set global myisam_data_pointer_size=2;
 
11
CREATE TEMPORARY TABLE t1 (a int auto_increment primary key not null, b longtext) ENGINE=MyISAM;
11
12
 
12
13
--disable_query_log
 
14
begin;
13
15
let $1= 303;
14
16
while ($1)
15
17
{
16
18
  INSERT INTO t1 SET b=repeat('a',200);
17
19
  dec $1;
18
20
}
 
21
commit;
19
22
--enable_query_log
20
23
 
21
 
DELETE FROM t1 WHERE a=1 or a=5;
22
 
 
23
 
--error 1114
24
 
INSERT INTO t1 SET b=repeat('a',600);
25
 
CHECK TABLE t1 EXTENDED;
26
 
 
27
 
--error 1114
28
 
UPDATE t1 SET b=repeat('a', 800) where a=10;
29
 
CHECK TABLE t1 EXTENDED;
30
 
 
31
 
INSERT INTO t1 SET b=repeat('a',400);
32
 
CHECK TABLE t1 EXTENDED;
33
 
 
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;
 
24
#DELETE FROM t1 WHERE a=1 or a=5;
 
25
 
 
26
#--error 1114
 
27
#INSERT INTO t1 SET b=repeat('a',600);
 
28
#CHECK TABLE t1 EXTENDED;
 
29
 
 
30
#--error 1114
 
31
#UPDATE t1 SET b=repeat('a', 800) where a=10;
 
32
#CHECK TABLE t1 EXTENDED;
 
33
 
 
34
#INSERT INTO t1 SET b=repeat('a',400);
 
35
#CHECK TABLE t1 EXTENDED;
 
36
 
 
37
#DELETE FROM t1 WHERE a=2 or a=6;
 
38
#UPDATE t1 SET b=repeat('a', 600) where a=11;
 
39
#CHECK TABLE t1 EXTENDED;
37
40
drop table t1;
38
41
 
39
 
set global myisam_data_pointer_size=default;
 
42
#set global myisam_data_pointer_size=default;
40
43
 
41
44
# End of 4.1 tests