-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In-Memory Databases are not really pooled/shared #1
Comments
Yes, we can't do anything about it for now. |
Are you sure ? SqliteConnectionManager::new(PathBuf::from("file:dummy.db?mode=memory&cache=shared"),
SQLITE_OPEN_URI | SQLITE_OPEN_CREATE | SQLITE_OPEN_READ_WRITE) ... |
Just ran into this. It makes absolutely no sense to me to create a pool of connections if each connection refers to a different in-memory database. |
I just make it a pool to have a uniform code for accessing the connection. If you have a better improvement, I'll take a PR. |
A PR removing the following entries:
will be accepted ? |
It seems to me that the issue has been fixed by f0a7bdd . |
Hi,
https://www.sqlite.org/inmemorydb.html:
Regards.
The text was updated successfully, but these errors were encountered: