mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-15 11:41:13 +03:00
Bug fix in the SQLITE_OPEN_PRIVATECACHE option added a few minutes ago.
FossilOrigin-Name: f3a0f23bc77f8c73924f1d371afae9a0f65bae67
This commit is contained in:
@@ -1545,7 +1545,7 @@ static int openDatabase(
|
||||
isThreadsafe = sqlite3GlobalConfig.bFullMutex;
|
||||
}
|
||||
if( flags & SQLITE_OPEN_PRIVATECACHE ){
|
||||
flags &= SQLITE_OPEN_SHAREDCACHE;
|
||||
flags &= ~SQLITE_OPEN_SHAREDCACHE;
|
||||
}else if( sqlite3GlobalConfig.sharedCacheEnabled ){
|
||||
flags |= SQLITE_OPEN_SHAREDCACHE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user