Re: [sqlite] Scope of sqlite3_update_hook?

2016-12-04 Thread Roger Binns
On 01/12/16 16:51, Jens Alfke wrote: > If so, then does that include connections in other OS processes? (I'm looking > for a way to detect this.) You can't get a callback when other processes change the database for many reasons. However it is possible to detect if the database has changed:

Re: [sqlite] Scope of sqlite3_update_hook?

2016-12-01 Thread Igor Tandetnik
On 12/1/2016 7:51 PM, Jens Alfke wrote: Does a registered sqlite3_update_hook get called when _any_ SQLite connection modifies the database (not just the connection it's registered with)? No, only the connection it's registered with. If so, then does that include connections in other OS