mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
catch accesses to deleted objects
double delete bug fixed
This commit is contained in:
@ -445,6 +445,7 @@ int st_select_lex_unit::cleanup()
|
||||
if (union_result)
|
||||
{
|
||||
delete union_result;
|
||||
union_result=0; // Safety
|
||||
if (table)
|
||||
free_tmp_table(thd, table);
|
||||
table= 0; // Safety
|
||||
|
Reference in New Issue
Block a user