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/28 04:22:53 UTC

incubator-hawq git commit: HAWQ-285. not freed connection track instance

Repository: incubator-hawq
Updated Branches:
  refs/heads/master 46ccd584e -> 4835ec284


HAWQ-285. not freed connection track instance


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

Branch: refs/heads/master
Commit: 4835ec284e6543b26a4852d15bde6a54b2f785cb
Parents: 46ccd58
Author: YI JIN <yj...@pivotal.io>
Authored: Mon Dec 28 14:22:39 2015 +1100
Committer: YI JIN <yj...@pivotal.io>
Committed: Mon Dec 28 14:22:39 2015 +1100

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


http://git-wip-us.apache.org/repos/asf/incubator-hawq/blob/4835ec28/src/backend/resourcemanager/resqueuemanager.c
----------------------------------------------------------------------
diff --git a/src/backend/resourcemanager/resqueuemanager.c b/src/backend/resourcemanager/resqueuemanager.c
index d5e1817..7c7fcc2 100644
--- a/src/backend/resourcemanager/resqueuemanager.c
+++ b/src/backend/resourcemanager/resqueuemanager.c
@@ -5201,6 +5201,7 @@ int rebuildResourceQueueTrackDynamicStatusInShadow(DynResourceQueueTrack  quetra
 							  "one queued query resource and new definition of "
 							  "resource queue %s",
 							  quetrack->QueueInfo->Name);
+				freeUsedConnectionTrack(newconn);
 				return RESQUEMGR_ALTERQUEUE_CONFILICT;
 			}
 		}