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

Fixed #7164: Multi-way hash/merge joins are impossible for expression-based keys

This commit is contained in:
Dmitry Yemanov 2022-04-02 11:38:26 +03:00
parent f179eb489e
commit 747d2ed2c2

View File

@ -2289,8 +2289,8 @@ bool Optimizer::generateEquiJoin(RiverList& orgRivers)
{
for (eq_class = classes; eq_class < last_class; eq_class += orgCount)
{
if (fieldEqual(node1, classes[i]) ||
fieldEqual(node2, classes[j]))
if (node1->sameAs(classes[i], false) ||
node2->sameAs(classes[j], false))
{
break;
}