提交 08abe0ac 编写于 作者: V Vadim B. Mikheev

I used bad style of comments and ... commented out some code in

EvalPlanQualNext() when implemented it... -:)
Uncommented...
上级 ca234c3f
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.85 1999/05/25 22:40:57 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.86 1999/06/06 15:14:40 vadim Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -1824,11 +1824,10 @@ EvalPlanQual(EState *estate, Index rti, ItemPointer tid) ...@@ -1824,11 +1824,10 @@ EvalPlanQual(EState *estate, Index rti, ItemPointer tid)
estate->es_evalPlanQual = (Pointer) epq; estate->es_evalPlanQual = (Pointer) epq;
} }
else else
{ /* this is the first (oldest) PQ epq->rti {
* = 0; * - mark as epq->rti = 0; /* this is the first (oldest) */
* free and estate->es_useEvalPlan = estate->es_useEvalPlan = false; /* PQ - mark as free and */
* false; * continue Query execution return (NULL); /* continue Query execution */
* return (NULL); */
} }
} }
...@@ -1872,11 +1871,10 @@ lpqnext:; ...@@ -1872,11 +1871,10 @@ lpqnext:;
/* pop old PQ from the stack */ /* pop old PQ from the stack */
oldepq = (evalPlanQual *) epqstate->es_evalPlanQual; oldepq = (evalPlanQual *) epqstate->es_evalPlanQual;
if (oldepq == (evalPlanQual *) NULL) if (oldepq == (evalPlanQual *) NULL)
{ /* this is the first (oldest) */ {
epq->rti = 0; /* PQ - mark as free and */ epq->rti = 0; /* this is the first (oldest) */
estate->es_useEvalPlan = false; /* continue Query estate->es_useEvalPlan = false; /* PQ - mark as free and */
* execution */ return (NULL); /* continue Query execution */
return (NULL);
} }
Assert(oldepq->rti != 0); Assert(oldepq->rti != 0);
/* push current PQ to freePQ stack */ /* push current PQ to freePQ stack */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册