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:
parent
e2dc46c7ce
commit
c33c601d14
@ -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*/)
|
||||
{
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user