mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 15:54:37 +01:00
17 lines
529 B
Text
17 lines
529 B
Text
--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;
|
|
|
|
--error ER_SET_STATEMENT_NOT_SUPPORTED
|
|
set statement default_master_connection=default for select 1;
|
|
--error ER_SET_STATEMENT_NOT_SUPPORTED
|
|
set statement default_master_connection=default for select 1;
|
|
|