mariadb/mysql-test/main/set_statement_notembedded.result

18 lines
513 B
Text
Raw Normal View History

2014-11-29 22:29:03 +01:00
SELECT @@MAX_STATEMENT_TIME;
@@MAX_STATEMENT_TIME
0.000000
SET STATEMENT MAX_STATEMENT_TIME=3 FOR SELECT SLEEP(1);
2014-11-29 22:29:03 +01:00
SLEEP(1)
0
SHOW STATUS LIKE "max_statement_time_exceeded";
Variable_name Value
Max_statement_time_exceeded 0
2020-10-30 17:23:53 +01:00
SET STATEMENT MAX_STATEMENT_TIME=1 FOR SELECT SLEEP(10);
ERROR 70100: Query execution was interrupted (max_statement_time exceeded)
2014-11-29 22:29:03 +01:00
SHOW STATUS LIKE "max_statement_time_exceeded";
Variable_name Value
Max_statement_time_exceeded 1
SELECT @@MAX_STATEMENT_TIME;
@@MAX_STATEMENT_TIME
0.000000