Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit92781fc

Browse files
committed
cleanups
1 parent48ea8b7 commit92781fc

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

‎src/backend/commands/command.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.40 1999/03/17 22:52:51 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.41 1999/03/23 05:40:59 momjian Exp $
1111
*
1212
* NOTES
1313
* The PortalExecutorHeapMemory crap needs to be eliminated
@@ -190,8 +190,7 @@ PerformPortalFetch(char *name,
190190
*execute the portal fetch operation
191191
* ----------------
192192
*/
193-
PortalExecutorHeapMemory= (MemoryContext)
194-
PortalGetHeapMemory(portal);
193+
PortalExecutorHeapMemory= (MemoryContext)PortalGetHeapMemory(portal);
195194

196195
ExecutorRun(queryDesc,PortalGetState(portal),feature,
197196
(Node*)NULL, (Node*)&limcount);

‎src/backend/tcop/pquery.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/tcop/pquery.c,v 1.21 1999/02/13 23:18:47 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/tcop/pquery.c,v 1.22 1999/03/23 05:41:00 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -190,8 +190,7 @@ ProcessPortal(char *portalName,
190190
*do what is possible across transaction boundries. -hirohama
191191
* ----------------
192192
*/
193-
portalContext= (MemoryContext)
194-
PortalGetHeapMemory(GetPortalByName(NULL));
193+
portalContext= (MemoryContext)PortalGetHeapMemory(GetPortalByName(NULL));
195194

196195
MemoryContextSwitchTo(portalContext);
197196

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp