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-261. No return statement in function setSegResGLOBAvailability()
Date Fri, 18 Dec 2015 06:49:23 GMT
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 <yjin@pivotal.io>
Authored: Fri Dec 18 17:49:01 2015 +1100
Committer: YI JIN <yjin@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. */


Mime
View raw message