mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.10 into 10.11
This commit is contained in:
@@ -871,6 +871,9 @@ int close_thread_tables(THD *thd)
|
||||
TODO: Probably even better approach is to simply associate list of
|
||||
derived tables with (sub-)statement instead of thread and destroy
|
||||
them at the end of its execution.
|
||||
|
||||
Note: EXPLAIN/ANALYZE depends on derived tables being freed here. See
|
||||
sql_explain.h:ExplainDataStructureLifetime.
|
||||
*/
|
||||
if (thd->derived_tables)
|
||||
{
|
||||
|
Reference in New Issue
Block a user