20 Aug 00:15
Multiple connection to in-memory database
From: vincent cridlig <cridligv@...>
Subject: Multiple connection to in-memory database
Newsgroups: gmane.comp.db.sqlite.general
Date: 2008-08-19 22:17:02 GMT
Subject: Multiple connection to in-memory database
Newsgroups: gmane.comp.db.sqlite.general
Date: 2008-08-19 22:17:02 GMT
Hi,
I would like to use transactions from separate threads, each thread having one connection to a single
in-memory db.
I just read in the sqlite doc that in-memory sqlite databases (using sqlite3_open(":memory:", ...)) are
private to a single connection.
Is there a way to open a second connection to the same in-memory database (for example from a second thread)?
Has someone ever tried to do (or implement) that?
Any help appreciated.
Thanks
Vincent
_____________________________________________________________________________
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr
_______________________________________________
sqlite-users mailing list
sqlite-users@...
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
RSS Feed