On Thu, Dec 15, 2011 at 10:08 AM, Pavel Ivanov <paiva...@gmail.com> wrote:

> On Thu, Dec 15, 2011 at 10:05 AM, Paxdo Presse <pa...@mac.com> wrote:
> > It's normal not to get an error message
> > when trying to remove or edit a record that has already been removed?
>
> Yes, it's normal. That's how SQL (in any DBMS, not only SQLite) works.
>

Your application can call sqlite3_changes() (
http://www.sqlite.org/c3ref/changes.html) after the DELETE to get the
number of rows deleted, then raise whatever errors it wants if the number
deleted is zero.


>
> Pavel
> _______________________________________________
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>



-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to