8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 09:20:39 +01:00

Attempt to fix the recently discovered optimizer regression with derived expressions

This commit is contained in:
Dmitry Yemanov 2022-11-05 12:57:41 +03:00
parent e2dc46c7ce
commit c33c601d14
2 changed files with 0 additions and 13 deletions

View File

@ -4989,17 +4989,6 @@ DmlNode* DerivedExprNode::parse(thread_db* tdbb, MemoryPool& pool, CompilerScrat
return node;
}
void DerivedExprNode::collectStreams(SortedStreamList& streamList) const
{
arg->collectStreams(streamList);
for (const auto i : internalStreamList)
{
if (!streamList.exist(i))
streamList.add(i);
}
}
bool DerivedExprNode::computable(CompilerScratch* csb, StreamType stream,
bool allowOnlyCurrentStream, ValueExprNode* /*value*/)
{

View File

@ -667,8 +667,6 @@ public:
fb_assert(false);
}
virtual void collectStreams(SortedStreamList& streamList) const;
virtual bool computable(CompilerScratch* csb, StreamType stream,
bool allowOnlyCurrentStream, ValueExprNode* value);