mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-08-18 12:08:22 +00:00
feat: implement statement/execution timeout session variable (#4792)
* support set and show on statement/execution timeout session variables. * implement statement timeout for mysql read, and postgres queries * add mysql test with max execution time
This commit is contained in:
@@ -72,3 +72,12 @@ DROP TABLE phy;
|
||||
DROP TABLE system_metrics;
|
||||
|
||||
DROP TABLE foo;
|
||||
|
||||
-- SQLNESS PROTOCOL MYSQL
|
||||
SET MAX_EXECUTION_TIME = 2000;
|
||||
|
||||
-- SQLNESS PROTOCOL MYSQL
|
||||
SHOW VARIABLES MAX_EXECUTION_TIME;
|
||||
|
||||
-- SQLNESS PROTOCOL MYSQL
|
||||
SET MAX_EXECUTION_TIME = 0;
|
||||
|
||||
Reference in New Issue
Block a user