mirror of
https://github.com/postgres/postgres.git
synced 2025-07-03 20:02:46 +03:00
Fix a couple of missed None -> DestNone in comments.
This commit is contained in:
@ -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)
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* 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,
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* 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)
|
||||||
|
Reference in New Issue
Block a user