|
26 | 26 | *
|
27 | 27 | *
|
28 | 28 | * IDENTIFICATION
|
29 |
| - * $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.85 1999/05/25 22:40:57 momjian Exp $ |
| 29 | + * $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.86 1999/06/06 15:14:40 vadim Exp $ |
30 | 30 | *
|
31 | 31 | *-------------------------------------------------------------------------
|
32 | 32 | */
|
@@ -1824,11 +1824,10 @@ EvalPlanQual(EState *estate, Index rti, ItemPointer tid)
|
1824 | 1824 | estate->es_evalPlanQual= (Pointer)epq;
|
1825 | 1825 | }
|
1826 | 1826 | else
|
1827 |
| -{/* this is the first (oldest) PQ epq->rti |
1828 |
| - * = 0; * - mark as |
1829 |
| - * free and estate->es_useEvalPlan = |
1830 |
| - * false; * continue Query execution |
1831 |
| - * return (NULL);*/ |
| 1827 | +{ |
| 1828 | +epq->rti=0;/* this is the first (oldest) */ |
| 1829 | +estate->es_useEvalPlan= false;/* PQ - mark as free and */ |
| 1830 | +return (NULL);/* continue Query execution */ |
1832 | 1831 | }
|
1833 | 1832 | }
|
1834 | 1833 |
|
@@ -1872,11 +1871,10 @@ lpqnext:;
|
1872 | 1871 | /* pop old PQ from the stack */
|
1873 | 1872 | oldepq= (evalPlanQual*)epqstate->es_evalPlanQual;
|
1874 | 1873 | if (oldepq== (evalPlanQual*)NULL)
|
1875 |
| -{/* this is the first (oldest) */ |
1876 |
| -epq->rti=0;/* PQ - mark as free and */ |
1877 |
| -estate->es_useEvalPlan= false;/* continue Query |
1878 |
| - * execution */ |
1879 |
| -return (NULL); |
| 1874 | +{ |
| 1875 | +epq->rti=0;/* this is the first (oldest) */ |
| 1876 | +estate->es_useEvalPlan= false;/* PQ - mark as free and */ |
| 1877 | +return (NULL);/* continue Query execution */ |
1880 | 1878 | }
|
1881 | 1879 | Assert(oldepq->rti!=0);
|
1882 | 1880 | /* push current PQ to freePQ stack */
|
|