mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 20:43:02 +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)
|
for (eq_class = classes; eq_class < last_class; eq_class += orgCount)
|
||||||
{
|
{
|
||||||
if (fieldEqual(node1, classes[i]) ||
|
if (node1->sameAs(classes[i], false) ||
|
||||||
fieldEqual(node2, classes[j]))
|
node2->sameAs(classes[j], false))
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user