From 1c3926ab709669c438ae59b05fa5868378a60056 Mon Sep 17 00:00:00 2001 From: Dmitry Yemanov Date: Fri, 8 Apr 2022 17:03:24 +0300 Subject: [PATCH] Parent conjuncts may be utilized multiple times, so assertion is too much paranoid --- src/jrd/optimizer/Optimizer.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/jrd/optimizer/Optimizer.cpp b/src/jrd/optimizer/Optimizer.cpp index b19e27f47f..d34cc4aa9a 100644 --- a/src/jrd/optimizer/Optimizer.cpp +++ b/src/jrd/optimizer/Optimizer.cpp @@ -613,7 +613,6 @@ RecordSource* Optimizer::compile(RseNode* subRse, BoolExprNodeStack* parentStack { if (*selfIter == *subIter) { - fb_assert(!(selfIter & (CONJUNCT_USED | CONJUNCT_MATCHED))); selfIter |= (subIter & (CONJUNCT_USED | CONJUNCT_MATCHED)); break; }