8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-02-02 10:40:38 +01:00

Fixed CORE-3064: Using the procedure alias inside an explicit plan crashes the server.

This commit is contained in:
dimitr 2010-07-02 10:43:33 +00:00
parent 1fcc7136ca
commit fc70141a07

View File

@ -6924,7 +6924,7 @@ static dsql_nod* pass1_alias_list(DsqlCompilerScratch* dsqlScratch, dsql_nod* al
dsqlScratch->scopeLevel++;
context = pass1_alias(dsqlScratch, context->ctx_childs_derived_table, (dsql_str*) *arg);
}
else
else if (context->ctx_relation)
{
// This must be a VIEW
dsql_nod** startArg = arg;
@ -6978,6 +6978,10 @@ static dsql_nod* pass1_alias_list(DsqlCompilerScratch* dsqlScratch, dsql_nod* al
context = NULL;
}
}
else
{
context = NULL;
}
}
else
{