~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/t/almost_full.test

Renamed more stuff to drizzle.

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
 
CREATE TEMPORARY TABLE t1 (a int auto_increment primary key not null, b longtext) ENGINE=MyISAM;
 
9
set global myisam_data_pointer_size=2;
 
10
CREATE TABLE t1 (a int auto_increment primary key not null, b longtext) ENGINE=MyISAM;
10
11
 
11
12
--disable_query_log
12
 
begin;
13
13
let $1= 303;
14
14
while ($1)
15
15
{
16
16
  INSERT INTO t1 SET b=repeat('a',200);
17
17
  dec $1;
18
18
}
19
 
commit;
20
19
--enable_query_log
21
20
 
22
 
#DELETE FROM t1 WHERE a=1 or a=5;
23
 
 
24
 
#--error ER_RECORD_FILE_FULL
25
 
#INSERT INTO t1 SET b=repeat('a',600);
26
 
#CHECK TABLE t1 EXTENDED;
27
 
 
28
 
#--error ER_RECORD_FILE_FULL
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;
 
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;
38
37
drop table t1;
39
38
 
 
39
set global myisam_data_pointer_size=default;
 
40
 
40
41
# End of 4.1 tests