Commit 92781fc1 authored by Bruce Momjian's avatar Bruce Momjian

cleanups

parent 48ea8b76
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.40 1999/03/17 22:52:51 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.41 1999/03/23 05:40:59 momjian Exp $
* *
* NOTES * NOTES
* The PortalExecutorHeapMemory crap needs to be eliminated * The PortalExecutorHeapMemory crap needs to be eliminated
...@@ -190,8 +190,7 @@ PerformPortalFetch(char *name, ...@@ -190,8 +190,7 @@ PerformPortalFetch(char *name,
* execute the portal fetch operation * execute the portal fetch operation
* ---------------- * ----------------
*/ */
PortalExecutorHeapMemory = (MemoryContext) PortalExecutorHeapMemory = (MemoryContext) PortalGetHeapMemory(portal);
PortalGetHeapMemory(portal);
ExecutorRun(queryDesc, PortalGetState(portal), feature, ExecutorRun(queryDesc, PortalGetState(portal), feature,
(Node *)NULL, (Node *)&limcount); (Node *)NULL, (Node *)&limcount);
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/tcop/pquery.c,v 1.21 1999/02/13 23:18:47 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/tcop/pquery.c,v 1.22 1999/03/23 05:41:00 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -190,8 +190,7 @@ ProcessPortal(char *portalName, ...@@ -190,8 +190,7 @@ ProcessPortal(char *portalName,
* do what is possible across transaction boundries. -hirohama * do what is possible across transaction boundries. -hirohama
* ---------------- * ----------------
*/ */
portalContext = (MemoryContext) portalContext = (MemoryContext) PortalGetHeapMemory(GetPortalByName(NULL));
PortalGetHeapMemory(GetPortalByName(NULL));
MemoryContextSwitchTo(portalContext); MemoryContextSwitchTo(portalContext);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment