Skip to content

Commit

Permalink
Fixed CORE-3611 - Wrong data while retrieving from CTEs (or derived t…
Browse files Browse the repository at this point in the history
…ables) with same column names.
  • Loading branch information
asfernandes committed Oct 27, 2011
1 parent e761c32 commit 9ae117e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dsql/pass1.cpp
Expand Up @@ -1347,7 +1347,7 @@ bool PASS1_node_match(const dsql_nod* node1, const dsql_nod* node2, bool ignore_
{
if (derivedField1 && derivedField2)
{
if (derivedField1->scope != derivedField2->scope ||
if (derivedField1->context->ctx_context != derivedField2->context->ctx_context ||
derivedField1->name != derivedField2->name)
{
return false;
Expand Down

0 comments on commit 9ae117e

Please sign in to comment.