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

Restrict the conversion to equivalence joins only

This commit is contained in:
Dmitry Yemanov 2024-07-30 18:30:47 +03:00
parent e63ba45f14
commit e1a767df26

View File

@ -84,6 +84,8 @@ namespace
}
if (const auto cmpNode = nodeAs<ComparativeBoolNode>(boolean))
{
if (cmpNode->blrOp == blr_eql || cmpNode->blrOp == blr_equiv)
{
SortedStreamList streams;
cmpNode->collectStreams(streams);
@ -98,6 +100,7 @@ namespace
}
}
}
}
return false;
}