Hi! Some expressions, for example arithmetic, concatenation evaluates the second argument even when the first is NULL.
In ArithmeticNode there is this (old) comment: // Evaluate arguments. If either is null, result is null, but in // any case, evaluate both, since some expressions may later depend // on mappings which are developed here What are these "mappings"? Can this evaluation of second argument when the first is NULL still be necessary for any reason? Adriano Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel