~ubuntu-branches/ubuntu/hardy/mysql-dfsg-5.0/hardy-updates

« back to all changes in this revision

Viewing changes to mysql-test/suite/funcs_1/t/innodb_bitdata.test

  • Committer: Bazaar Package Importer
  • Author(s): sean finney
  • Date: 2007-05-13 12:32:45 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20070513123245-8c3l187dk34cz2ar
Tags: 5.0.41-2
the previous "translation changes" inadvertently introduced unrelated
changes in the package control file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#### suite/funcs_1/t/innodb_bitdata.test
 
2
 
 
3
# InnoDB tables should be used
 
4
#
 
5
# 1. Check if InnoDB is available
 
6
--source include/have_innodb.inc
 
7
# 2. Set $engine_type
 
8
let $engine_type= innodb;
 
9
 
 
10
# Decide, if the objects are to be (re)created
 
11
#
 
12
# - once at the beginning of a set of testcases ('$NO_REFRESH' <> '' --> TRUE)
 
13
#   That means the current script must not (re)create any object.
 
14
#   It can expect, that the objects already exist.
 
15
#
 
16
# - per every testscript/case ('$NO_REFRESH' = '' --> FALSE)
 
17
#   That means all objects have to be (re)created within the current script.
 
18
 
 
19
eval SET @NO_REFRESH = IF( '$NO_REFRESH' = '', 0, 1);
 
20
 
 
21
# FIXME Replace the following, when "if" for mysqltest is available
 
22
let $run= `SELECT @NO_REFRESH = 0`;
 
23
while ($run)
 
24
{
 
25
 
 
26
    # Create some objects needed in many testcases
 
27
    USE test;
 
28
    --source suite/funcs_1/include/innodb_tb4.inc
 
29
 
 
30
    let $run= 0;
 
31
}
 
32
    
 
33
--source suite/funcs_1/bitdata/bitdata_master.test
 
34