mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 21:23:03 +01:00
Fixed CORE-3834: Usage of a NATURAL JOIN with a derived table crashes the server.
This commit is contained in:
parent
74a5fa0552
commit
cc6d7212d8
@ -6720,7 +6720,7 @@ static dsql_nod* pass1_join(CompiledStatement* statement, dsql_nod* input)
|
||||
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(statement, coalesce);
|
||||
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user