# The test for bug lp:1376934
# Set max_statement_time for statement context
# did not affect time limit for statement execution.

--source include/have_statement_timeout.inc
--source include/not_embedded.inc


--echo #
--echo # Test max statement time interruption.
--echo # Note that if SLEEP() is interrupted, it returns 1.
--echo #

SET STATEMENT max_execution_time = 10 FOR SELECT SLEEP(1000);
