Avoid PANIC on multiple function execution when using ORCA
A cached query planned statement contains information that is freed after the first execution of a function. The second execution used the cached planned statement to populate the execution state using a freed pointer and throws a segmentation fault. To resolve, we do not free the dynamicTableScanInfo. Co-authored-by: NDavid Kimura <dkimura@pivotal.io> Co-authored-by: NTaylor Vesely <tvesely@pivotal.io> (cherry picked from commit 04e43e64)
Showing
想要评论请 注册 或 登录