Simon,

Thank you for your response.

The callback function is called when Django's table object's delete method is 
called, and not by sqlite's DELETE command. I do not know what callback 
functionality is provided by sqlite, but I don't believe it is being used in 
this case. 

We have solved the problem by listening for a different signal, one that is 
called well after the deletion has occurred. Thanks to everyone for responding 
to my questions. 

Kevin Yoo
Certification Lead
Wurldtech Security Technologies
1680-401 West Georgia St.
Vancouver, BC, V6B 5A1
 
Phone: (604) 669 6674 ext. 232
Fax: (604) 669 2902

"ARE YOU ACHILLES CERTIFIED?"
 
This message is intended only for the named recipients.  This message may 
contain information that is privileged, confidential or exempt from disclosure 
under applicable law.  Any dissemination or copying of this message by anyone 
other than a named recipient is strictly prohibited.  If you are not a named 
recipient or an employee or agent responsible for delivering this message to a 
named recipient, please notify us immediately by telephone at 604-669-6674, and 
permanently destroy this message and any copies you may have. Email may not be 
secure unless properly encrypted.


-----Original Message-----
From: [email protected] [mailto:[email protected]] 
On Behalf Of Simon Slavin
Sent: June 15, 2011 3:48 PM
To: General Discussion of SQLite Database
Subject: Re: [sqlite] Is there a difference between DELETE and UPDATE/INSERT in 
terms of syncing to disk?


On 15 Jun 2011, at 10:38pm, Jean-Christophe Deschamps wrote:

>> and 
>> when the callback function is entered, Django claims that the DELETE 
>> statement has been executed.

Is this the callback function called /by/ the DELETE command ?  If so, it's 
called before the DELETE command is completed.

Simon.

_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to