On 24/03/2011, at 4:41 PM, Shalom Elkin <shalom.el...@gmail.com> wrote:

> Sorry - it doesn't work.
> sqlite3_exec with the pragma directive returns no error, but the program
> still agrees to insert a record that violates foreign_key constraint.

What version of SQLite are you using? I think foreign key support requires 
version 3.6.19.

I must admit, I haven't had to compile SQLite for a while. I mostly just link 
against the binary included in my OS (iOS).

Tom
BareFeetWare

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

Reply via email to