mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-34860 Implement MAX_EXECUTION_TIME hint
It places a limit N (a timeout value in milliseconds) on how long a statement is permitted to execute before the server terminates it. Syntax: SELECT /*+ MAX_EXECUTION_TIME(milliseconds) */ ... Only top-level SELECT statements support the hint.
This commit is contained in:
@@ -419,7 +419,7 @@ int mysql_load(THD *thd, const sql_exchange *ex, TABLE_LIST *table_list,
|
||||
thd->lex->first_select_lex()->leaf_tables,
|
||||
FALSE,
|
||||
INSERT_ACL | UPDATE_ACL,
|
||||
INSERT_ACL | UPDATE_ACL, FALSE))
|
||||
INSERT_ACL | UPDATE_ACL, false, true))
|
||||
DBUG_RETURN(-1);
|
||||
if (!table_list->table || // do not support join view
|
||||
!table_list->single_table_updatable() || // and derived tables
|
||||
|
Reference in New Issue
Block a user