Clone
Mike Hanlon <mike.hanlon@hp.com>
committed
on 04 Feb 15
Fix memory leaks when EXPLAIN is re-executed
In cases where an EXPLAIN statement is prepared once and
executed many times, each reexecution … Show more
Fix memory leaks when EXPLAIN is re-executed

In cases where an EXPLAIN statement is prepared once and

executed many times, each reexecution will allocate more

memory from the Statement heap.  Cleanup will only happen

when the Statement heap is deallocated. This change fixes

the problem by deallocating between executions.

Change-Id: I515bde53348384302f040bb9391a3a3530c7a1d2

Show less