On 17 Aug 2015, at 8:11am, Paolo Bolzoni <paolo.bolzoni.brown at gmail.com> wrote:
> If the problem is the multi-threading, it would be not enough to > simply document that the tmp directory should be set before spawning > any thread? e.g., in the main? It's partly a philosophical one. The setting for the temporary directory is read when SQLite is initialised. If the environment variable is changed afterwards SQLite doesn't notice: the stored copy is used. Simon.