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-476. Unexpected internal error in execHHashagg.
Date Wed, 02 Mar 2016 02:36:38 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master fa3ad0b2e -> d9198667a


HAWQ-476. Unexpected internal error in execHHashagg.


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

Branch: refs/heads/master
Commit: d9198667ae128677d521786385bd80e3579b3e0b
Parents: fa3ad0b
Author: hubertzhang <hzhang@pivotal.io>
Authored: Tue Mar 1 17:00:59 2016 +0800
Committer: hubertzhang <hzhang@pivotal.io>
Committed: Wed Mar 2 10:36:19 2016 +0800

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


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/d9198667/src/backend/executor/execHHashagg.c
----------------------------------------------------------------------
diff --git a/src/backend/executor/execHHashagg.c b/src/backend/executor/execHHashagg.c
index e7d9161..5f7cb6a 100644
--- a/src/backend/executor/execHHashagg.c
+++ b/src/backend/executor/execHHashagg.c
@@ -606,7 +606,7 @@ calcHashAggTableSizes(double memquota,	/* Memory quota in bytes. */
 	if (nbuckets < gp_hashagg_default_nbatches)
 		nbuckets = gp_hashagg_default_nbatches;
 
-	if (nbatches > UINT_MAX || nentries > UINT_MAX || nbuckets > UINT_MAX)
+	if (nbatches > ULONG_LONG_MAX || nentries > ULONG_LONG_MAX || nbuckets > ULONG_LONG_MAX)
 	{
 		if (force)
 		{


Mime
View raw message