Re: Check constrain execution timing change?

Richard Hipp <[email protected]>
Newsgroups gmane.comp.db.sqlite.general
Message-ID <CALwJ=MyTjessaDyupiY9hRh1N60X1cgimtCfT84b4tXoK5jRhQ@mail.gmail.com>
On 1/31/20, Keith Medcalf <[email protected]> wrote:
>
> The check should occur AFTER defaults and
> column affinity is applied before the data record is stored
>

Why do you think this?  Is it documented somewhere?  I ask because
your test case gives the same answer (doing the first insert but
failing the other two) for every version of SQLite I checked from
trunk going back to 3.1.0 (2005-01-21).  Hence, for backwards
compatibility, even it is documented to do something differently, I
should probably change the documentation rather than the behavior.

-- 
D. Richard Hipp
[email protected]
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.