hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hubertzh...@apache.org
Subject incubator-hawq git commit: HAWQ-861. Wrong logerror position in insert into hashtable select * from gpfdist external table.
Date Tue, 28 Jun 2016 02:58:43 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master 86c07d2a4 -> 10f778cda


HAWQ-861. Wrong logerror position in insert into hashtable select * from gpfdist external
table.


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

Branch: refs/heads/master
Commit: 10f778cda19e58bd5afb2577903e3d99ac6d032d
Parents: 86c07d2
Author: hzhang2 <zhanghuan929@163.com>
Authored: Tue Jun 28 10:49:00 2016 +0800
Committer: hzhang2 <zhanghuan929@163.com>
Committed: Tue Jun 28 10:49:00 2016 +0800

----------------------------------------------------------------------
 src/backend/cdb/cdbdatalocality.c | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/10f778cd/src/backend/cdb/cdbdatalocality.c
----------------------------------------------------------------------
diff --git a/src/backend/cdb/cdbdatalocality.c b/src/backend/cdb/cdbdatalocality.c
index 1d14e80..adcc3b8 100644
--- a/src/backend/cdb/cdbdatalocality.c
+++ b/src/backend/cdb/cdbdatalocality.c
@@ -739,8 +739,6 @@ static void check_keep_hash_and_external_table(
 		{
 			context->keep_hash = true;
 			context->resultRelationHashSegNum = targetPolicy->bucketnum;
-			pfree(targetPolicy);
-			return;
 		}
 		pfree(targetPolicy);
 	}
@@ -752,7 +750,6 @@ static void check_keep_hash_and_external_table(
 	{
 		context->keep_hash = true;
 		context->resultRelationHashSegNum = intoPolicy->bucketnum;
-		return;
 	}
 
 	foreach(lc, context->rtc_context.range_tables)


Mime
View raw message