You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hawq.apache.org by wl...@apache.org on 2016/01/22 12:01:59 UTC
incubator-hawq git commit: HAWQ-274. Fix a bug of using failed
temporary dir list
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 <wl...@pivotal.io>
Authored: Fri Jan 22 19:01:30 2016 +0800
Committer: Wen Lin <wl...@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));