1
0
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:
Sergey Glukhov
2009-09-23 13:40:33 +05:00
parent ecea4e9af5
commit 185698530e

View File

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