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:
parent
f179eb489e
commit
747d2ed2c2
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user