mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 16:43:03 +01:00
Fixed embedded legacy plans
This commit is contained in:
parent
fa829b7f7b
commit
21addada2e
@ -109,10 +109,10 @@ void Select::initializeInvariants(Request* request) const
|
||||
|
||||
void Select::print(thread_db* tdbb, PlanPrintContext& plan, unsigned level) const
|
||||
{
|
||||
plan += level ? RecordSource::printIndent(level) : "\n";
|
||||
|
||||
if (plan.isDetailed())
|
||||
{
|
||||
plan += level ? RecordSource::printIndent(level) : "\n";
|
||||
|
||||
if (m_rse->isSubQuery())
|
||||
{
|
||||
plan += "Sub-query";
|
||||
@ -137,16 +137,16 @@ void Select::print(thread_db* tdbb, PlanPrintContext& plan, unsigned level) cons
|
||||
plan += pos;
|
||||
}
|
||||
}
|
||||
else
|
||||
else if (!level)
|
||||
{
|
||||
if (!level && (m_line || m_column))
|
||||
if (m_line || m_column)
|
||||
{
|
||||
string pos;
|
||||
pos.printf("\n-- line %u, column %u", m_line, m_column);
|
||||
plan += pos;
|
||||
}
|
||||
|
||||
plan += "PLAN ";
|
||||
plan += "\nPLAN ";
|
||||
}
|
||||
|
||||
if (plan.goDeeper())
|
||||
|
Loading…
Reference in New Issue
Block a user