Re: [sqlite] Extract error text in C API

2009-03-11 Thread Andy Sharp
I did see that function and I had already tried that but it just gives me "SQL logic error or missing database". The error code from the step command is 19 (constraint error). I t almost looks like a different error, but if I take out the triggers it works. Thanks Andy On Wed, Mar 11, 2009 a

Re: [sqlite] Extract error text in C API

2009-03-10 Thread D. Richard Hipp
On Mar 10, 2009, at 10:07 PM, Andy wrote: > > I am using triggers to handle database integrity as suggested by the > docs. > When a violation occurs the 'SELECT RAISE(ROLLBACK, "Blah")' is > executed. I > want to get extract the 'Blah' text using the C API but cannot seem > to work > out h