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.
LP and other fixes. Details below. -- LP 1408504: Any sql operation done when trafodion is uninitialized or needs to be upgraded will return error. Until now, some commands (like get schemas, invoke) were not returning an error. -- LP 1408506: metadata upgrade was not handling repository tables and was failing. That has been fixed. -- index related commands (create, populate) now run in multiple phases. Metadata update within a xn and row population without a xn. -- common methods have been added that can be called to begin and end transactions. -- HYBRID_QUERY_CACHE cqd is now off by default