1
######## include/ddl.pre ########
3
# $runtime -- rough intended runtime per subtest variant
4
# must be set within the routine sourcing this script.
6
# Please look for more details within include/ddl1.inc.
8
# Creation of this test:
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,,);
20
DROP TABLE IF EXISTS t1;