hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From y...@apache.org
Subject incubator-hawq git commit: HAWQ-534. A query resource quota can be calculated to from 0 to 0
Date Tue, 15 Mar 2016 02:37:20 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master a7ad3753c -> f34f65de1


HAWQ-534. A query resource quota can be calculated to from 0 to 0


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

Branch: refs/heads/master
Commit: f34f65de1a2db5de7d1768c25f8eb6fa15adf578
Parents: a7ad375
Author: YI JIN <yjin@pivotal.io>
Authored: Tue Mar 15 13:36:58 2016 +1100
Committer: YI JIN <yjin@pivotal.io>
Committed: Tue Mar 15 13:36:58 2016 +1100

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


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/f34f65de/src/backend/resourcemanager/resqueuemanager.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/resqueuemanager.c b/src/backend/resourcemanager/resqueuemanager.c
index 9af0d7c..7bc0e7b 100644
--- a/src/backend/resourcemanager/resqueuemanager.c
+++ b/src/backend/resourcemanager/resqueuemanager.c
@@ -3868,7 +3868,7 @@ int computeQueryQuota_EVEN(DynResourceQueueTrack	track,
 	*segnummin = reservsegnum;
 	*segnummin = *segnummin > *segnum ? *segnum : *segnummin;
 
-	Assert( *segnummin > 0 && *segnummin <= *segnum );
+	Assert( *segnummin >= 0 && *segnummin <= *segnum );
 	return FUNC_RETURN_OK;
 }
 


Mime
View raw message