1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-14 00:22:38 +03:00

Fix a problem preventing a shared in-memory database from being attached to a read-only connection.

FossilOrigin-Name: 7caca1939ce70d5b14ae8ca8ff6afb62f8aff361
This commit is contained in:
dan
2012-06-07 17:16:04 +00:00
parent 25cdf46ae4
commit 0b8dcfa2bd
4 changed files with 40 additions and 11 deletions

View File

@@ -2065,9 +2065,7 @@ int sqlite3ParseUri(
{ "ro", SQLITE_OPEN_READONLY },
{ "rw", SQLITE_OPEN_READWRITE },
{ "rwc", SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE },
{ "memory",
SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE
| SQLITE_OPEN_MEMORY },
{ "memory", SQLITE_OPEN_MEMORY },
{ 0, 0 }
};