Re: [sqlite] Thread-safety of user-defined functions

2016-10-28 Thread Richard Hipp
On 10/28/16, Jens Alfke wrote: > Do I need to worry about concurrent calls to custom functions (or virtual > tables) that I register with SQLite? They’re associated with only a single > connection, but with Serialized mode, that connection could be used from > multiple threads. And what if I use `

[sqlite] Thread-safety of user-defined functions

2016-10-28 Thread Jens Alfke
Do I need to worry about concurrent calls to custom functions (or virtual tables) that I register with SQLite? They’re associated with only a single connection, but with Serialized mode, that connection could be used from multiple threads. And what if I use `pragma threads` to enable helper thre