~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/almost_full.test

  • Committer: Brian Aker
  • Date: 2009-01-06 23:40:50 UTC
  • mfrom: (642.1.69 drizzle-clean-code)
  • Revision ID: brian@tangent.org-20090106234050-w01lo5f4r3q62nik
Finished merge for Lee

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;
 
9
#Drizzle does not support global myisam_data_pointer_size system variable
 
10
#set global myisam_data_pointer_size=2;
10
11
CREATE TABLE t1 (a int auto_increment primary key not null, b longtext) ENGINE=MyISAM;
11
12
 
12
13
--disable_query_log
18
19
}
19
20
--enable_query_log
20
21
 
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;
37
 
drop table t1;
38
 
 
39
 
set global myisam_data_pointer_size=default;
 
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;
40
41
 
41
42
# End of 4.1 tests