mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
dab12366b1
the problem was in assigning default value during parsing.
18 lines
448 B
Text
18 lines
448 B
Text
SELECT @@MAX_STATEMENT_TIME;
|
|
@@MAX_STATEMENT_TIME
|
|
0.000000
|
|
SET STATEMENT MAX_STATEMENT_TIME=2 FOR SELECT SLEEP(1);
|
|
SLEEP(1)
|
|
0
|
|
SHOW STATUS LIKE "max_statement_time_exceeded";
|
|
Variable_name Value
|
|
Max_statement_time_exceeded 0
|
|
SET STATEMENT MAX_STATEMENT_TIME=2 FOR SELECT SLEEP(3);
|
|
SLEEP(3)
|
|
1
|
|
SHOW STATUS LIKE "max_statement_time_exceeded";
|
|
Variable_name Value
|
|
Max_statement_time_exceeded 1
|
|
SELECT @@MAX_STATEMENT_TIME;
|
|
@@MAX_STATEMENT_TIME
|
|
0.000000
|