~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/suite/stress/include/ddl.pre

  • 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
######## 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