mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-12 13:01:09 +03:00
Make sure the threadsOverrideEachOthersLocks variable is only referenced by
linux systems on a threadsafe compile. FossilOrigin-Name: e9d064bd9318c2bc9248df948f71fd30f24525eb
This commit is contained in:
@@ -925,7 +925,9 @@ static void releaseOpenCnt(struct unixOpenCnt *pOpen){
|
||||
assert( pOpen->pNext->pPrev==pOpen );
|
||||
pOpen->pNext->pPrev = pOpen->pPrev;
|
||||
}
|
||||
#if SQLITE_THREADSAFE && defined(__linux__)
|
||||
assert( !pOpen->pUnused || threadsOverrideEachOthersLocks==0 );
|
||||
#endif
|
||||
|
||||
/* If pOpen->pUnused is not null, then memory and file-descriptors
|
||||
** are leaked.
|
||||
|
||||
Reference in New Issue
Block a user