Subject Re: Nulls in CHECK Constraints
Author paulruizendaal
Sorry, slip of the pen -- that is what I meant.
- add a blr_not underneath the blr_if (add 1 line)
- reverse then/else actions (move 2 lines down)

The code define_constraint_trigger() looks messy in FB15, but that is
more a discussion for fb_devel.

Paul

--- In Firebird-Architect@yahoogroups.com, "Dmitry Yemanov"
<dimitr@u...> wrote:
>
> "paulruizendaal" <pnr@w...> wrote:
> >
> > I have had a look at the (FB15) code. Changing this behaviour to
> > standard compliance is a three-line fix in dsql/gen.cpp
>
> IMO, the fix should be inside dsql/ddl.cpp, routine
> define_constraint_trigger().
>
>
> Dmitry
>