summaryrefslogtreecommitdiff
path: root/mysql-test/t/set_statement_notembedded.test
blob: 7bb8f5e1aab21b3cffe80c2ea6bc65806915a2ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--source include/not_embedded.inc

#
# statement timeout
#
SELECT @@MAX_STATEMENT_TIME;
SET STATEMENT MAX_STATEMENT_TIME=2 FOR SELECT SLEEP(1);
SHOW STATUS LIKE "max_statement_time_exceeded";
SET STATEMENT MAX_STATEMENT_TIME=2 FOR SELECT SLEEP(3);
SHOW STATUS LIKE "max_statement_time_exceeded";
SELECT @@MAX_STATEMENT_TIME;