On 10/01/2015 10:32 PM, Andrew Cunningham wrote:
> I have noticed that when FOREIGN KEY is in DEFERRED mode and a FOREIGN KEY
> violation occurs, SQLite will continue to run, but performance slows down
> by about 1000x. Breaking into the code shows that it seems to be
> continually re-reading the d
On 1 Oct 2015, at 6:36pm, Andrew Cunningham wrote:
> A FOREIGN KEY violation that occurs in IMMEDIATE mode, though it causes an
> error, is often not actually a real error. Sometimes the "VIOLATION" (of
> referential integrity) is corrected at a later point ( order of operations
> is important)
Andrew Cunningham wrote:
>I have noticed that when FOREIGN KEY is in DEFERRED mode and a FOREIGN KEY
>violation occurs, SQLite will continue to run, but performance slows down
>by about 1000x. Breaking into the code shows that it seems to be
>continually re-reading the database. When I finally ge
Hi,
A FOREIGN KEY violation that occurs in IMMEDIATE mode, though it causes an
error, is often not actually a real error. Sometimes the "VIOLATION" (of
referential integrity) is corrected at a later point ( order of operations
is important).
Assuming the VIOLATION is corrected , then in DEFERRED m
I have noticed that when FOREIGN KEY is in DEFERRED mode and a FOREIGN KEY
violation occurs, SQLite will continue to run, but performance slows down
by about 1000x. Breaking into the code shows that it seems to be
continually re-reading the database. When I finally get to COMMIT , an
exception is t
5 matches
Mail list logo