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

Fixed debug printer code

This commit is contained in:
Dmitry Yemanov 2023-12-14 17:12:38 +03:00
parent 5933ce8ca2
commit 655eb5a390

View File

@ -614,9 +614,9 @@ River* InnerJoin::formRiver()
void InnerJoin::getIndexedRelationships(StreamInfo* testStream)
{
#ifdef OPT_DEBUG_RETRIEVAL
const auto name = optimizer->getStreamName(testStream->stream);
const auto name = optimizer->getStreamName(testStream->number);
optimizer->printf("Dependencies for stream %u (%s):\n",
testStream->stream, name.c_str());
testStream->number, name.c_str());
#endif
const auto tail = &csb->csb_rpt[testStream->number];