1# The test for bug lp:1376934
2# Set max_statement_time for statement context
3# did not affect time limit for statement execution.
4
5--source include/have_statement_timeout.inc
6--source include/not_embedded.inc
7
8
9--echo #
10--echo # Test max statement time interruption.
11--echo # Note that if SLEEP() is interrupted, it returns 1.
12--echo #
13
14SET STATEMENT max_statement_time = 10 FOR SELECT SLEEP(1000);
15