-
Committer:
timour at askmonty
-
Date:
2011-11-24 21:15:40 UTC
-
Revision ID:
timour@askmonty.org-20111124211540-musqj0w75rv173pe
Fix bug lp:894326
The patch also fixes an unrelated compiler warning.
Analysis:
The temporary table created during SJ-materialization
might be used for sorting for a group by operation. The
sort buffers for this internal temporary table were not
cleared by the execution code after each subquery
re-execution. This resulted in a memory leak detected
by valgrind.
Solution:
Cleanup the sort buffers for the semijon tables as well.