hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lil...@apache.org
Subject incubator-hawq git commit: HAWQ-598. Initialize dispatchResult during makeCdbCopy
Date Tue, 29 Mar 2016 01:58:37 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 6947d1989 -> 7c9009f0c


HAWQ-598. Initialize dispatchResult during makeCdbCopy


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

Branch: refs/heads/master
Commit: 7c9009f0c1202405e5c2712866e88112ce0aeb9c
Parents: 6947d19
Author: Lili Ma <ictmalili@gmail.com>
Authored: Mon Mar 28 17:16:39 2016 +0800
Committer: Lili Ma <ictmalili@gmail.com>
Committed: Tue Mar 29 09:46:43 2016 +0800

----------------------------------------------------------------------
 src/backend/cdb/cdbcopy.c | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/7c9009f0/src/backend/cdb/cdbcopy.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbcopy.c b/src/backend/cdb/cdbcopy.c
index ee2ff80..98f0510 100644
--- a/src/backend/cdb/cdbcopy.c
+++ b/src/backend/cdb/cdbcopy.c
@@ -80,6 +80,8 @@ makeCdbCopy(bool is_copy_in, QueryResource *resource)
 
 	c->executors.segment_conns = NIL;
 	c->executors.errbuf.data = NULL;
+	c->executors.result = NULL;
+	c->executors.numresults = 0;
 
 	/* Initialize the state of each segment database */
 	c->segdb_state = (SegDbState **) palloc((c->partition_num) * sizeof(SegDbState *));


Mime
View raw message