Re: [sqlite] Feature request: Report constraint name(s) in error message

2009-03-09 Thread Ralf Junker
Roger Binns wrote: >> when a named constraint is violated, the name of the constraint which >> actually failed is not included in the error message. > >There has been a ticket about this for over 3 years, and also includes a >patch to fix it: > > http://www.sqlite.org/cvstrac/tktview?tn=1648

Re: [sqlite] Feature request: Report constraint name(s) in error message

2009-03-08 Thread Roger Binns
Ralf Junker wrote: > when a named constraint is violated, the name of the constraint which > actually failed is not included in the error message. There has been a ticket about this for over 3 years, and also includes a patch to fix it: http://www.sqlite.org/cvstrac/tktview?tn=1648 Roger

[sqlite] Feature request: Report constraint name(s) in error message

2009-03-08 Thread Ralf Junker
Hi, when a named constraint is violated, the name of the constraint which actually failed is not included in the error message. Example 1: create table con ( a text constraint must_not_be_null not null); insert into con values (null); Returns error "con.a may not be null". Example