On 3/31/2011 2:02 PM, Julien Laffaye wrote: > 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?
For reasons described in the documentation: http://sqlite.org/c3ref/step.html . See "Goofy Interface Alert" section at the bottom. -- Igor Tandetnik _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users