[ https://issues.apache.org/jira/browse/HAWQ-524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15192996#comment-15192996 ]
ASF GitHub Bot commented on HAWQ-524: ------------------------------------- GitHub user ictmalili opened a pull request: https://github.com/apache/incubator-hawq/pull/444 HAWQ-524. Modify processing for cdbDispatchResult->resultBuf Modify processing for cdbDispatchResult->resultBuf when creation and free. Should judge whether NULL after creation and when do destroy. You can merge this pull request into a Git repository by running: $ git pull https://github.com/ictmalili/incubator-hawq HAWQ-524 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-hawq/pull/444.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #444 ---- commit 16c8d7a4cdc9f6c1f7806e280248ee4e32b1c36f Author: Lili Ma <l...@pivotal.io> Date: 2016-03-14T09:47:42Z HAWQ-524. Modify processing for cdbDispatchResult->resultBuf when creation and free ---- > do not resolve the condition of 'executor->refResult = NULL' in > executormgr_bind_executor_task() > ------------------------------------------------------------------------------------------------- > > Key: HAWQ-524 > URL: https://issues.apache.org/jira/browse/HAWQ-524 > Project: Apache HAWQ > Issue Type: Bug > Components: Dispatcher > Affects Versions: 2.0.0 > Reporter: Chunling Wang > Assignee: Lei Chang > > In executormgr.c, the code below should not be Assert(). The condition of > 'executor->refResult = NULL' should be catch. > bool > executormgr_bind_executor_task(struct DispatchData *data, > QueryExecutor *executor, > > SegmentDatabaseDescriptor *desc, > struct DispatchTask > *task, > struct DispatchSlice > *slice) > { > ... > Assert(executor->refResult != NULL); > ... > } -- This message was sent by Atlassian JIRA (v6.3.4#6332)