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:
Does a registered sqlite3_update_hook get called when _any_ SQLite connection
modifies the database, or just the connection it's registered with?
If so, then does that include connections in other OS processes? (I'm looking
for a way to detect this.)
--Jens [via iPhone]
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
Does a registered sqlite3_update_hook get called when _any_ SQLite connection
modifies the database (not just the connection it's registered with)?
If so, then does that include connections in other OS processes? (I'm looking
for a way to detect this.)
—Jens
4 matches
Mail list logo