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