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

« back to all changes in this revision

Viewing changes to tests/suite/stress/include/ddl.pre

  • 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
######## include/ddl.pre ########
 
2
# The variable
 
3
#     $runtime   -- rough intended runtime per subtest variant
 
4
# must be set within the routine sourcing this script.
 
5
#
 
6
# Please look for more details within include/ddl1.inc.
 
7
#
 
8
# Creation of this test:
 
9
# 2007-07-11 mleich
 
10
#
 
11
SET @@session.sql_mode = 'NO_ENGINE_SUBSTITUTION';
 
12
PREPARE stmt_start FROM "SELECT UNIX_TIMESTAMP() INTO @start";
 
13
--replace_result $runtime <intended_runtime>
 
14
eval SET @runtime = $runtime;
 
15
eval PREPARE stmt_break FROM "SELECT UNIX_TIMESTAMP() - @start > @runtime - 1";
 
16
connect (con2,localhost,root,,);
 
17
connection default;
 
18
 
 
19
--disable_warnings
 
20
DROP TABLE IF EXISTS t1;
 
21
--enable_warnings