mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 21:23:04 +01:00
Fix regression in master #7698 - The legacy plan with window functions is broken.
This commit is contained in:
parent
f4c22d3dc8
commit
86274ccca0
@ -154,8 +154,11 @@ namespace
|
||||
|
||||
void BufferedStreamWindow::print(thread_db* tdbb, string& plan, bool detailed, unsigned level, bool recurse) const
|
||||
{
|
||||
plan += printIndent(++level) + "Window Buffer";
|
||||
printOptInfo(plan);
|
||||
if (detailed)
|
||||
{
|
||||
plan += printIndent(++level) + "Window Buffer";
|
||||
printOptInfo(plan);
|
||||
}
|
||||
|
||||
if (recurse)
|
||||
m_next->print(tdbb, plan, detailed, level, recurse);
|
||||
@ -408,8 +411,11 @@ void WindowedStream::getChildren(Array<const RecordSource*>& children) const
|
||||
|
||||
void WindowedStream::print(thread_db* tdbb, string& plan, bool detailed, unsigned level, bool recurse) const
|
||||
{
|
||||
plan += printIndent(++level) + "Window";
|
||||
printOptInfo(plan);
|
||||
if (detailed)
|
||||
{
|
||||
plan += printIndent(++level) + "Window";
|
||||
printOptInfo(plan);
|
||||
}
|
||||
|
||||
if (recurse)
|
||||
m_joinedStream->print(tdbb, plan, detailed, level, recurse);
|
||||
|
Loading…
Reference in New Issue
Block a user