mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 18:03:04 +01:00
Fixed CORE-3611 - Wrong data while retrieving from CTEs (or derived tables) with same column names.
This commit is contained in:
parent
e761c32f19
commit
9ae117e388
@ -1347,7 +1347,7 @@ bool PASS1_node_match(const dsql_nod* node1, const dsql_nod* node2, bool ignore_
|
|||||||
{
|
{
|
||||||
if (derivedField1 && derivedField2)
|
if (derivedField1 && derivedField2)
|
||||||
{
|
{
|
||||||
if (derivedField1->scope != derivedField2->scope ||
|
if (derivedField1->context->ctx_context != derivedField2->context->ctx_context ||
|
||||||
derivedField1->name != derivedField2->name)
|
derivedField1->name != derivedField2->name)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user