~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/almost_full.test

  • Committer: Brian Aker
  • Date: 2010-12-08 22:35:56 UTC
  • mfrom: (1819.9.158 update-innobase)
  • Revision ID: brian@tangent.org-20101208223556-37mi4omqg7lkjzf3
Merge in Stewart's changes, 1.3 changes.

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
CREATE TEMPORARY TABLE t1 (a int auto_increment primary key not null, b longtext) ENGINE=MyISAM;
11
10
 
12
11
--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;
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;
 
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;
37
38
drop table t1;
38
39
 
39
 
set global myisam_data_pointer_size=default;
40
 
 
41
40
# End of 4.1 tests