Commit 60945aaf authored by Tom Lane's avatar Tom Lane

Fix a couple of missed None -> DestNone in comments.

parent 66294e13
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/tcop/pquery.c,v 1.96 2005/11/03 17:11:38 alvherre Exp $ * $PostgreSQL: pgsql/src/backend/tcop/pquery.c,v 1.97 2005/11/03 21:35:57 tgl Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -376,7 +376,7 @@ PortalStart(Portal portal, ParamListInfo params, Snapshot snapshot) ...@@ -376,7 +376,7 @@ PortalStart(Portal portal, ParamListInfo params, Snapshot snapshot)
/* /*
* Create QueryDesc in portal's context; for the moment, set * Create QueryDesc in portal's context; for the moment, set
* the destination to None. * the destination to DestNone.
*/ */
queryDesc = CreateQueryDesc((Query *) linitial(portal->parseTrees), queryDesc = CreateQueryDesc((Query *) linitial(portal->parseTrees),
(Plan *) linitial(portal->planTrees), (Plan *) linitial(portal->planTrees),
...@@ -757,8 +757,8 @@ PortalRunSelect(Portal portal, ...@@ -757,8 +757,8 @@ PortalRunSelect(Portal portal,
/* /*
* Force the queryDesc destination to the right thing. This supports * Force the queryDesc destination to the right thing. This supports
* MOVE, for example, which will pass in dest = None. This is okay to * MOVE, for example, which will pass in dest = DestNone. This is okay
* change as long as we do it on every fetch. (The Executor must not * to change as long as we do it on every fetch. (The Executor must not
* assume that dest never changes.) * assume that dest never changes.)
*/ */
if (queryDesc) if (queryDesc)
......
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