hawq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From w...@apache.org
Subject incubator-hawq git commit: HAWQ-274. Fix a bug of using failed temporary dir list
Date Fri, 22 Jan 2016 11:01:59 GMT
Repository: incubator-hawq
Updated Branches:
  refs/heads/master facb61d16 -> 6488b1757


HAWQ-274. Fix a bug of using failed temporary dir list


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

Branch: refs/heads/master
Commit: 6488b1757aeb6f0a060eaf7692e224551f677531
Parents: facb61d
Author: Wen Lin <wlin@pivotal.io>
Authored: Fri Jan 22 19:01:30 2016 +0800
Committer: Wen Lin <wlin@pivotal.io>
Committed: Fri Jan 22 19:01:30 2016 +0800

----------------------------------------------------------------------
 src/backend/resourcemanager/requesthandler_RMSEG.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/6488b175/src/backend/resourcemanager/requesthandler_RMSEG.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/requesthandler_RMSEG.c b/src/backend/resourcemanager/requesthandler_RMSEG.c
index c673040..b96b448 100644
--- a/src/backend/resourcemanager/requesthandler_RMSEG.c
+++ b/src/backend/resourcemanager/requesthandler_RMSEG.c
@@ -73,14 +73,14 @@ int refreshLocalHostInstance(void)
 
 	/* Get a list of failed temporary directory */
 	uint16_t failedTmpDirNum =
-								list_length(&DRMGlobalInstance->LocalHostFailedTmpDirList);
+								list_length(DRMGlobalInstance->LocalHostFailedTmpDirList);
 	if (failedTmpDirNum > 0)
 	{
 		SelfMaintainBufferData buf;
 		initializeSelfMaintainBuffer(&buf, PCONTEXT);
 		uint16_t idx = 0;
 		ListCell *lc = NULL;
-		foreach(lc, &DRMGlobalInstance->LocalHostFailedTmpDirList)
+		foreach(lc, DRMGlobalInstance->LocalHostFailedTmpDirList)
 		{
 			elog(LOG, "Get a failed temporary directory list for IMAlive message: %s",
 					  (char *)lfirst(lc));


Mime
View raw message