mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
14 lines
357 B
Text
14 lines
357 B
Text
--source include/not_embedded.inc
|
|
|
|
#
|
|
# statement timeout
|
|
#
|
|
SELECT @@MAX_STATEMENT_TIME;
|
|
SET STATEMENT MAX_STATEMENT_TIME=3 FOR SELECT SLEEP(1);
|
|
SHOW STATUS LIKE "max_statement_time_exceeded";
|
|
--error ER_STATEMENT_TIMEOUT
|
|
SET STATEMENT MAX_STATEMENT_TIME=1 FOR SELECT SLEEP(10);
|
|
SHOW STATUS LIKE "max_statement_time_exceeded";
|
|
SELECT @@MAX_STATEMENT_TIME;
|
|
|
|
|