~drizzle-trunk/drizzle/development

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
1063.9.3 by Brian Aker
Partial fix for tests for tmp
9
CREATE TEMPORARY TABLE t1 (a int auto_increment primary key not null, b longtext) ENGINE=MyISAM;
1 by brian
clean slate
10
11
--disable_query_log
910.4.13 by Stewart Smith
batch up more INSERTs into transactions to help tests run quicker.
12
begin;
1 by brian
clean slate
13
let $1= 303;
14
while ($1)
15
{
16
  INSERT INTO t1 SET b=repeat('a',200);
17
  dec $1;
18
}
910.4.13 by Stewart Smith
batch up more INSERTs into transactions to help tests run quicker.
19
commit;
1 by brian
clean slate
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
1731.3.1 by Lee Bieber
change tests to use enum values instead of error numbers
24
#--error ER_RECORD_FILE_FULL
642.1.69 by Lee
enable more tests and a few Solaris code clean ups
25
#INSERT INTO t1 SET b=repeat('a',600);
26
#CHECK TABLE t1 EXTENDED;
27
1731.3.1 by Lee Bieber
change tests to use enum values instead of error numbers
28
#--error ER_RECORD_FILE_FULL
642.1.69 by Lee
enable more tests and a few Solaris code clean ups
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;
1008.3.32 by Stewart Smith
fix missing drop table at end of almost_full.test
38
drop table t1;
642.1.69 by Lee
enable more tests and a few Solaris code clean ups
39
1 by brian
clean slate
40
# End of 4.1 tests