~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

Viewing changes to tests/t/almost_full.test

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-03-18 12:12:31 UTC
  • Revision ID: james.westby@ubuntu.com-20100318121231-k6g1xe6cshbwa0f8
Tags: upstream-2010.03.1347
ImportĀ upstreamĀ versionĀ 2010.03.1347

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Some special cases with empty tables
 
3
#
 
4
 
 
5
--disable_warnings
 
6
drop table if exists t1;
 
7
--enable_warnings
 
8
 
 
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;
 
12
 
 
13
--disable_query_log
 
14
begin;
 
15
let $1= 303;
 
16
while ($1)
 
17
{
 
18
  INSERT INTO t1 SET b=repeat('a',200);
 
19
  dec $1;
 
20
}
 
21
commit;
 
22
--enable_query_log
 
23
 
 
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;
 
40
drop table t1;
 
41
 
 
42
#set global myisam_data_pointer_size=default;
 
43
 
 
44
# End of 4.1 tests