~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
######## t/ddl_myisam.test ######
 
2
#
 
3
# Stress the storage engine MyISAM 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
let $engine_type= MyISAM;
 
13
 
 
14
 
 
15
if (`SELECT $PS_PROTOCOL + $SP_PROTOCOL + $CURSOR_PROTOCOL + $VIEW_PROTOCOL > 0`)
 
16
{
 
17
   --skip Test requires: ps-protocol/sp-protocol/cursor-protocol/view-protocol disabled
 
18
}
 
19
let $run= `SELECT '$BIG_TEST' = '1'`;
 
20
if ($run)
 
21
{
 
22
   # A run started with "--big-test" should be allowed to consume more time.
 
23
   # Rough intended runtime per subtest variant in seconds
 
24
   let $runtime = 5;
 
25
   # number of rounds till we look at the clock again
 
26
   let $loop_size= 100;
 
27
}
 
28
if (!$run)
 
29
{
 
30
   let $runtime = 1;
 
31
   let $loop_size= 20;
 
32
}
 
33
 
 
34
 
 
35
##### Some preparations needed for the ddl*.inc scripts
 
36
--source suite/stress/include/ddl.pre
 
37
 
 
38
--source suite/stress/include/ddl1.inc
 
39
--source suite/stress/include/ddl2.inc
 
40
--source suite/stress/include/ddl3.inc
 
41
--source suite/stress/include/ddl4.inc
 
42
--source suite/stress/include/ddl5.inc
 
43
--source suite/stress/include/ddl6.inc
 
44
--source suite/stress/include/ddl7.inc
 
45
--source suite/stress/include/ddl8.inc
 
46
 
 
47
##### Cleanup
 
48
--source suite/stress/include/ddl.cln