1
0
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:
serg@serg.mylan
2004-01-30 08:09:42 +01:00
parent f0f9e0d7d7
commit 4e4d618683
2 changed files with 9 additions and 2 deletions

View File

@ -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