Skip to content

Commit

Permalink
Fixed CORE-3834: Usage of a NATURAL JOIN with a derived table crashes…
Browse files Browse the repository at this point in the history
… the server.
  • Loading branch information
dyemanov committed Apr 27, 2012
1 parent 5bf93a8 commit 3a3a5b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dsql/pass1.cpp
Expand Up @@ -6467,7 +6467,7 @@ static dsql_nod* pass1_join(dsql_req* request, dsql_nod* input, bool proc_flag)
coalesce->nod_arg[1] = MAKE_list(stack);

impJoinLeft->value = MAKE_node(nod_alias, e_alias_count);
impJoinLeft->value->nod_arg[e_alias_value] = coalesce;
impJoinLeft->value->nod_arg[e_alias_value] = PASS1_node(request, coalesce, proc_flag);
impJoinLeft->value->nod_arg[e_alias_alias] = reinterpret_cast<dsql_nod*>(fldName);
impJoinLeft->value->nod_arg[e_alias_imp_join] = reinterpret_cast<dsql_nod*>(impJoinLeft);

Expand Down

0 comments on commit 3a3a5b8

Please sign in to comment.