You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by yj...@apache.org on 2015/12/18 07:49:23 UTC

incubator-hawq git commit: HAWQ-261. No return statement in function setSegResGLOBAvailability()

Repository: incubator-hawq
Updated Branches:
  refs/heads/master a40a27a4f -> 52f2822fc


HAWQ-261. No return statement in function setSegResGLOBAvailability()


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

Branch: refs/heads/master
Commit: 52f2822fc0cfdcd4bf71486e80503a4d92cd2f93
Parents: a40a27a
Author: YI JIN <yj...@pivotal.io>
Authored: Fri Dec 18 17:49:01 2015 +1100
Committer: YI JIN <yj...@pivotal.io>
Committed: Fri Dec 18 17:49:01 2015 +1100

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


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/52f2822f/src/backend/resourcemanager/resourcepool.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/resourcepool.c b/src/backend/resourcemanager/resourcepool.c
index 6a98927..95bb948 100644
--- a/src/backend/resourcemanager/resourcepool.c
+++ b/src/backend/resourcemanager/resourcepool.c
@@ -1159,6 +1159,7 @@ int setSegResHAWQAvailability( SegResource segres, uint8_t newstatus)
 int setSegResGLOBAvailability( SegResource segres, uint8_t newstatus)
 {
 	int res = setSegStatGLOBAvailability(segres->Stat, newstatus);
+	return res;
 }
 
 /* Generate HAWQ host report. */