On 03/31/2011 19:08, Igor Tandetnik wrote:
> 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.
>    
Oh, I feel stupid now... Let's use the v2 function then.

Anyway, thank you very much for your quick reply.

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

Reply via email to