8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 16:03:03 +01:00

Add key info to the merge join plan output

This commit is contained in:
Dmitry Yemanov 2024-09-23 20:34:56 +03:00
parent c50b0aa652
commit cc183f599e

View File

@ -363,7 +363,11 @@ void MergeJoin::internalGetPlan(thread_db* tdbb, PlanEntry& planEntry, unsigned
{
planEntry.className = "MergeJoin";
planEntry.lines.add().text = "Merge Join (inner)";
string extras;
extras.printf(" (keys: %" ULONGFORMAT", total key length: %" ULONGFORMAT")",
m_keys[0]->getCount(), m_args[0]->getKeyLength());
planEntry.lines.add().text = "Merge Join (inner)" + extras;
printOptInfo(planEntry.lines);
if (recurse)