Re: multithreaded app with in-memory database and transactions

Simon Slavin <[email protected]>
Newsgroups gmane.comp.db.sqlite.general
Message-ID <[email protected]>
On 13 Feb 2020, at 6:44pm, Wim Hoekman <[email protected]> wrote:

> 4) "file:filedb?cache=private", SQLITE_OPEN_READWRITE|SQLITE_OPEN_URI
> 	works, but is not in memory

Can you try

"file:filedb", SQLITE_OPEN_MEMORY|SQLITE_OPEN_PRIVATECACHE

?  If that doesn't work, for the filename try ":memory:" or "file:memory:" in the quotes instead of a filename.

For reference:

<https://sqlite.org/c3ref/c_open_autoproxy.html>
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.