1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-12-21 13:38:01 +03:00

The unixIsSharingShmNode() function should always return false for the

unix-excl VFS.

FossilOrigin-Name: 770f35dae47a98554b18f8a7aa9f6b6e39ae2b3aa8dce8d75b5bed0c6f0f9c21
This commit is contained in:
drh
2025-10-27 15:44:16 +00:00
parent 626351d444
commit e34f35c833
3 changed files with 8 additions and 10 deletions

View File

@@ -4656,6 +4656,7 @@ static int unixIsSharingShmNode(unixFile *pFile){
int rc;
unixShmNode *pShmNode;
if( pFile->pShm==0 ) return 0;
if( pFile->ctrlFlags & UNIXFILE_EXCL ) return 0;
pShmNode = pFile->pShm->pShmNode;
rc = 1;
unixEnterMutex();