On 14 Jul 2014, at 5:00pm, João Ramos <joao.si...@gmail.com> wrote:

> The update hook says "The update hook implementation must not do anything
> that will modify the database connection that invoked the update hook. 

Ah, right.  Yes, you must store what you want your change to be in a variable 
and make it after the commit_hook or wipe it after the rollback_hook.

On that basis, I suspect a TRIGGER is going to be easier for you.

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

Reply via email to