diff --git a/src/dsql/BoolNodes.cpp b/src/dsql/BoolNodes.cpp index 1f1ac45c5c..504bf20890 100644 --- a/src/dsql/BoolNodes.cpp +++ b/src/dsql/BoolNodes.cpp @@ -1287,7 +1287,7 @@ BoolExprNode* InListBoolNode::dsqlPass(DsqlCompilerScratch* dsqlScratch) const auto castNode = FB_NEW_POOL(dsqlScratch->getPool()) CastNode(dsqlScratch->getPool(), item, field); - item = castNode->dsqlPass(dsqlScratch); + item = castNode; } }