mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Bug#45989 memory leak after explain encounters an error in the query
the fix is reverted from 5.1, mysql-pe as unnecessary(no valgrind warnings there).
This commit is contained in:
@ -2248,7 +2248,7 @@ JOIN::destroy()
|
||||
tab->cleanup();
|
||||
}
|
||||
tmp_join->tmp_join= 0;
|
||||
tmp_table_param.cleanup();
|
||||
tmp_table_param.copy_field= 0;
|
||||
DBUG_RETURN(tmp_join->destroy());
|
||||
}
|
||||
cond_equal= 0;
|
||||
|
Reference in New Issue
Block a user