There is/was additional documentation which stated multiple threads within the
same process could open that same connection and share the cache.  I'm not
talking about program A sharing a memory database with Program B, but rather
threads 32, 55, 126, and 84 of Program A being able to open and close on demand.

> On May 28, 2013 at 7:31 AM Kevin Benson <[email protected]> wrote:
>
>
> On Tue, May 28, 2013 at 7:57 AM, Roland Hughes
> <[email protected]>wrote:
>
> > ":memory:" is a one-shot wonder. The example from the documentation
> > allowed multiple threads to use the _same_ in memory database.
> >
>
>
> Am I not understanding the explanation on that page correctly? My
> understanding would be that
>
> "file:memdb1?mode=memory&cache=shared"
>
> is aimed at a single process having access to two or more distinct but
> shareable in-memory databases.
>
> "If two or more distinct but shareable in-memory databases are needed in a
> single process, then the mode=memory
> <http://www.sqlite.org/uri.html#coreqp>query parameter can be used
> with a URI
> filename <http://www.sqlite.org/uri.html> to create a named in-memory
> database:"
> --
> --
> --
> --Ô¿Ô--
> K e V i N
> _______________________________________________
> sqlite-users mailing list
> [email protected]
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Roland Hughes, President
Logikal Solutions
(630)-205-1593 - cell
http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net
_______________________________________________
sqlite-users mailing list
[email protected]
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to