On 27/10/2015 05:21, Claudio Valderrama C. wrote: > > My wish for FB v4 is that we stop using nod_value_if for coalesce (and for > the CASE statement) and instead we implement a new verb. Among other things, > it will avoid reevaluating expressions and will give us more freedom to fix > things. > > That's not the problem with CORE-4959. v3 does uses blr_coalesce ;)
The problem is that we can't go to evaluate blr_coalesce for a "null stream". Currently that can be done with blr_derived-expr but it's very invasive in the optimization process. I've sent for Dmitry's analysis an idea to use a kind of "runtime only" blr_derived_expr. Adriano ------------------------------------------------------------------------------ Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel