MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / printCandidates

Method printCandidates

src/jrd/optimizer/Retrieval.cpp:2532–2543  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2530}
2531
2532void Retrieval::printCandidates(const InversionCandidateList& inversions) const
2533{
2534 if (inversions.getCount() < 2)
2535 return;
2536
2537 const auto name = optimizer->getStreamName(stream);
2538 optimizer->printf(" retrieval candidates for stream %u (%s):\n",
2539 stream, name.c_str());
2540
2541 for (const auto candidate : inversions)
2542 printCandidate(candidate);
2543}
2544
2545void Retrieval::printFinalCandidate(const InversionCandidate* candidate) const
2546{

Callers

nothing calls this directly

Calls 4

getStreamNameMethod · 0.80
getCountMethod · 0.45
printfMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected