From 0e9ef6965d0176a2e65231b61ba611f472c9143e Mon Sep 17 00:00:00 2001 From: Vlad Khorsun Date: Wed, 17 Apr 2024 22:36:09 +0300 Subject: [PATCH] Fixed bug #8087 : AV when preparing a query with IN list that contains both literals and sub-query --- src/dsql/BoolNodes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }