~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/suite/stress/t/ddl_archive.test

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
######## t/ddl_archive.test ######
 
2
#
 
3
# Stress the storage engine ARCHIVE with CREATE/DROP TABLE/INDEX
 
4
#
 
5
# Please look for details within include/ddl1.inc.
 
6
#
 
7
# Creation of this test:
 
8
# 2007-07-04 mleich
 
9
#
 
10
 
 
11
# Storage engine to be used in CREATE TABLE
 
12
--source include/have_archive.inc
 
13
let $engine_type= ARCHIVE;
 
14
 
 
15
 
 
16
if (`SELECT $PS_PROTOCOL + $SP_PROTOCOL + $CURSOR_PROTOCOL + $VIEW_PROTOCOL > 0`)
 
17
{
 
18
   --skip Test requires: ps-protocol/sp-protocol/cursor-protocol/view-protocol disabled
 
19
}
 
20
let $run= `SELECT '$BIG_TEST' = '1'`;
 
21
if ($run)
 
22
{
 
23
   # A run started with "--big-test" should be allowed to consume more time.
 
24
   # Rough intended runtime per subtest variant in seconds
 
25
   let $runtime = 5;
 
26
   # number of rounds till we look at the clock again
 
27
   let $loop_size= 100;
 
28
}
 
29
if (!$run)
 
30
{
 
31
   let $runtime = 1;
 
32
   let $loop_size= 20;
 
33
}
 
34
 
 
35
 
 
36
##### Some preparations needed for the ddl*.inc scripts
 
37
--source suite/stress/include/ddl.pre
 
38
 
 
39
# Tests set to comment fail because of CSV limitations
 
40
# (limited number of keys, NULL within index not supported)
 
41
# --source suite/stress/include/ddl1.inc
 
42
--source suite/stress/include/ddl2.inc
 
43
--source suite/stress/include/ddl3.inc
 
44
# --source suite/stress/include/ddl4.inc
 
45
--source suite/stress/include/ddl5.inc
 
46
# --source suite/stress/include/ddl6.inc
 
47
# --source suite/stress/include/ddl7.inc
 
48
# --source suite/stress/include/ddl8.inc
 
49
 
 
50
##### Cleanup
 
51
--source suite/stress/include/ddl.cln