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