mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 16:03:02 +01:00
Do not generate not needed blr_derived_expr for view's fields.
This commit is contained in:
parent
810b378e95
commit
6d3576a447
@ -173,7 +173,8 @@ void GEN_expr(CompiledStatement* statement, dsql_nod* node)
|
||||
// ASF: If we are not referencing a field, we should evaluate the expression based on
|
||||
// a set (ORed) of contexts. If any of them are in a valid position the expression is
|
||||
// evaluated, otherwise a NULL will be returned. This is fix for CORE-1246.
|
||||
if (node->nod_arg[e_derived_field_value]->nod_type != nod_field &&
|
||||
if (node->nod_arg[e_derived_field_value]->nod_type != nod_derived_field &&
|
||||
node->nod_arg[e_derived_field_value]->nod_type != nod_field &&
|
||||
node->nod_arg[e_derived_field_value]->nod_type != nod_dbkey &&
|
||||
node->nod_arg[e_derived_field_value]->nod_type != nod_map)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user