Repository: incubator-hawq
Updated Branches:
  refs/heads/master 4d0b99f3b -> e4cee64a4


HAWQ-574. Modify the wrong judge during dispatch_free_result


Project: http://git-wip-us.apache.org/repos/asf/incubator-hawq/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-hawq/commit/e4cee64a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/e4cee64a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/e4cee64a

Branch: refs/heads/master
Commit: e4cee64a46b9fae5758f7fdd4917185c74f86810
Parents: 4d0b99f
Author: Lili Ma <[email protected]>
Authored: Wed Mar 23 13:28:52 2016 +0800
Committer: Lili Ma <[email protected]>
Committed: Wed Mar 23 13:29:31 2016 +0800

----------------------------------------------------------------------
 src/backend/cdb/dispatcher.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/e4cee64a/src/backend/cdb/dispatcher.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/dispatcher.c b/src/backend/cdb/dispatcher.c
index e3c5e94..f355b05 100644
--- a/src/backend/cdb/dispatcher.c
+++ b/src/backend/cdb/dispatcher.c
@@ -1570,7 +1570,7 @@ dispatch_free_result(DispatchDataResult *result)
                result->errbuf.data = NULL;
        }
 
-       if (!result->result)
+       if (result->result)
        {
          for (int i = 0; i <= result->numresults; i++){
            PQclear(result->result[i]);

Reply via email to