Hi,

When sqlite3_step() fail because a UNIQUE constraint is not satisfied, 
it returns SQLITE_ERROR.
I see that there is an error code named SQLITE_CONSTRAINT. Why 
sqlite3_step() does not return this one?

Having a specific error code would be useful to warn the user that the 
data he submitted already exist into the database.

Thank you!

Regards,
Julien
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to