mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
catch accesses to deleted objects
double delete bug fixed sql/sql_list.h: catch accesses to deleted objects sql/sql_union.cc: double delete 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