mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +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:
@@ -801,7 +801,7 @@ static bool init_items_for_help_command(THD *thd,
|
||||
|
||||
if (setup_tables(thd, &first_select_lex->context,
|
||||
&first_select_lex->top_join_list,
|
||||
&tables[0], leaves, false, false))
|
||||
&tables[0], leaves, false, false, true))
|
||||
return true;
|
||||
|
||||
memcpy((char*) used_fields, (char*) init_used_fields,
|
||||
|
Reference in New Issue
Block a user