hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From odiache...@apache.org
Subject [15/38] incubator-hawq git commit: HAWQ-574. Modify the wrong judge during dispatch_free_result
Date Thu, 31 Mar 2016 00:24:08 GMT
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/07a0cdda
Tree: http://git-wip-us.apache.org/repos/asf/incubator-hawq/tree/07a0cdda
Diff: http://git-wip-us.apache.org/repos/asf/incubator-hawq/diff/07a0cdda

Branch: refs/heads/HAWQ-546
Commit: 07a0cdda32d70ac6274e7b82d6f6e55f5c11e274
Parents: 3d7d071
Author: Lili Ma <ictmalili@gmail.com>
Authored: Wed Mar 23 13:28:52 2016 +0800
Committer: Oleksandr Diachenko <odiachenko@pivotal.io>
Committed: Wed Mar 30 17:23:28 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/07a0cdda/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]);


Mime
View raw message