Re: [sqlite] SQLIte Shared Cache In-Memory DB Persists After Application Shutdown

2017-11-02 Thread yaro
Thanks Clemens and Dan, The issue is resolved, it was caused by not setting the URI Filename flag. Yaro -- Sent from: http://sqlite.1065341.n5.nabble.com/ ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.or

Re: [sqlite] SQLIte Shared Cache In-Memory DB Persists After Application Shutdown

2017-11-02 Thread yaro
Dan, Your question was well composed and illuminating. After going through my code I realised that I didn't enable URI Filename in any of the ways you mentioned, my guide to using URI Filename is https://www.sqlite.org/inmemorydb.html May be that is the

Re: [sqlite] SQLIte Shared Cache In-Memory DB Persists After Application Shutdown

2017-11-02 Thread Dan Kennedy
On 11/02/2017 08:50 PM, yaro wrote: Hello, I have found the cause of the weird behaviour. The in Shared Cache In-Memory DB isn't persisted, rather the problem is due to a temp file named "file" that isn't deleted after my application closes. Whenever I delete this file then everything works fine.

Re: [sqlite] SQLIte Shared Cache In-Memory DB Persists After Application Shutdown

2017-11-02 Thread Clemens Ladisch
yaro wrote: > the problem is due to a temp file named "file" that isn't deleted after my > application closes. SQLite does not create temp files named "file". Regards, Clemens ___ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://m

Re: [sqlite] SQLIte Shared Cache In-Memory DB Persists After Application Shutdown

2017-11-02 Thread yaro
Hello, I have found the cause of the weird behaviour. The in Shared Cache In-Memory DB isn't persisted, rather the problem is due to a temp file named "file" that isn't deleted after my application closes. Whenever I delete this file then everything works fine. From my search this file ought to be

[sqlite] SQLIte Shared Cache In-Memory DB Persists After Application Shutdown

2017-11-02 Thread yaro
Hello, I built TCl 8.6 with SQLite extension (3.2.0) which I embedded into a C++ application. Because I need SQLite in both TCL and C++ I defined the SQLite macro of (the extension) to export all the SQLite C API's. So the the built SQLite DLL library TCL extension exports both the TCL interface as