mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 04:03:04 +01:00
Fixed CORE-3064: Using the procedure alias inside an explicit plan crashes the server.
This commit is contained in:
parent
d4eb464946
commit
0da0b0c224
@ -5913,7 +5913,7 @@ static dsql_nod* pass1_alias_list(dsql_req* request, dsql_nod* alias_list)
|
|||||||
request->req_scope_level++;
|
request->req_scope_level++;
|
||||||
context = pass1_alias(request, context->ctx_childs_derived_table, (dsql_str*) *arg);
|
context = pass1_alias(request, context->ctx_childs_derived_table, (dsql_str*) *arg);
|
||||||
}
|
}
|
||||||
else
|
else if (context->ctx_relation)
|
||||||
{
|
{
|
||||||
// This must be a VIEW
|
// This must be a VIEW
|
||||||
dsql_nod** startArg = arg;
|
dsql_nod** startArg = arg;
|
||||||
@ -5961,11 +5961,15 @@ static dsql_nod* pass1_alias_list(dsql_req* request, dsql_nod* alias_list)
|
|||||||
|
|
||||||
context = new_context;
|
context = new_context;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
context = NULL;
|
context = NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
context = NULL;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user