Hi, ALL,

Is this a proper call to execute:

if( sqlite3_exec( m_handle, "PRAGMA foreign_keys = OFF", NULL, NULL, 0
) != SQLITE_OK )
{
// displaying error message
}

The problem is that after successful execution of such code, I am
still getting error:
"foreign key constraint failed" when executing the "DELETE FROM ..." query.

Is this correct? Or am I misunderstand something?

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

Reply via email to