Add bool expression to pruning instance with a function

pull/1475/head
velioglu 2017-08-09 18:31:06 +03:00
parent e8b793c454
commit 7e436c0277
1 changed files with 1 additions and 14 deletions

View File

@ -469,20 +469,7 @@ PrunableExpressionsWalker(Node *node, ClauseWalkerContext *context)
*/
foreach(opCell, boolExpr->args)
{
PendingPruningInstance *instance =
palloc0(sizeof(PendingPruningInstance));
instance->instance = context->currentPruningInstance;
instance->continueAt = lfirst(opCell);
/*
* Signal that this instance is not to be used for pruning on
* its own. Once the pending instance is processed, it'll be
* used.
*/
instance->instance->isPartial = true;
context->pendingInstances = lappend(context->pendingInstances, instance);
AddNewConjuction(context, lfirst(opCell));
}
return false;