summaryrefslogtreecommitdiff
path: root/src/backend/utils/mmgr/mcxt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/utils/mmgr/mcxt.c')
-rw-r--r--src/backend/utils/mmgr/mcxt.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/backend/utils/mmgr/mcxt.c b/src/backend/utils/mmgr/mcxt.c
index 880b8cddc7..dbe9b65fb9 100644
--- a/src/backend/utils/mmgr/mcxt.c
+++ b/src/backend/utils/mmgr/mcxt.c
@@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/mmgr/mcxt.c,v 1.7 1998/02/26 04:38:21 momjian Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/mmgr/mcxt.c,v 1.8 1998/06/15 19:29:52 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -151,9 +151,7 @@ EnableMemoryContext(bool on)
AssertArg(BoolIsValid(on));
if (BypassEnable(&MemoryContextEnableCount, on))
- {
return;
- }
processing = true;
@@ -188,9 +186,7 @@ EnableMemoryContext(bool on)
OrderedElemPop(&TopGlobalMemoryData.elemData);
}
else
- {
GlobalMemoryDestroy(context);
- }
/* what is needed for the top? */
}
@@ -493,15 +489,11 @@ GlobalMemoryDump(GlobalMemory this)
context = (GlobalMemory) OrderedElemGetPredecessor(&this->elemData);
if (PointerIsValid(context))
- {
printf("\tpredecessor=%s\n", GlobalMemoryGetName(context));
- }
context = (GlobalMemory) OrderedElemGetSuccessor(&this->elemData);
if (PointerIsValid(context))
- {
printf("\tsucessor=%s\n", GlobalMemoryGetName(context));
- }
AllocSetDump(&this->setData); /* XXX is this right interface */
}