mirror of https://github.com/postgres/postgres
Fix a bug induced by the list-rewrite that resulted in incrementing the
command counter more than necessary. Per report from Michael Fuhr.
This commit is contained in:
parent
a3f945a1b2
commit
f94197ef35
|
@ -8,7 +8,7 @@
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/tcop/pquery.c,v 1.89 2004/12/31 22:01:16 pgsql Exp $
|
* $PostgreSQL: pgsql/src/backend/tcop/pquery.c,v 1.90 2005/02/01 23:28:40 neilc Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
@ -1033,7 +1033,7 @@ PortalRunMulti(Portal portal,
|
||||||
* Increment command counter between queries, but not after the
|
* Increment command counter between queries, but not after the
|
||||||
* last one.
|
* last one.
|
||||||
*/
|
*/
|
||||||
if (planlist_item != NULL)
|
if (lnext(planlist_item) != NULL)
|
||||||
CommandCounterIncrement();
|
CommandCounterIncrement();
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in New Issue