Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix a typo that prevented successful builds on macs. |
---|---|
Downloads: | Tarball | ZIP archive |
Timelines: | family | ancestors | descendants | both | apple-osx |
Files: | files | file ages | folders |
SHA3-256: |
adf83060a658aadb935b9315244ce562 |
User & Date: | drh 2017-11-14 21:06:38.497 |
Context
2017-11-16
| ||
19:17 | Merge the latest changes, and the stmtvtab1.test fix, from trunk. (check-in: 85247880a6 user: drh tags: apple-osx) | |
2017-11-14
| ||
21:06 | Fix a typo that prevented successful builds on macs. (check-in: adf83060a6 user: drh tags: apple-osx) | |
20:36 | Merge the patch that enables reading a read-only WAL-mode database, without any special query parameters, as long as the -shm and -wal files are on disk. (check-in: 8c2a769c4a user: drh tags: apple-osx) | |
Changes
Changes to src/os_unix.c.
︙ | ︙ | |||
5180 5181 5182 5183 5184 5185 5186 | } } if( pInode->bProcessLock==0 ){ #ifdef __APPLE__ /* On MacOS and iOS, avoid even trying to open a read-only SHM file ** for writing, because doing so generates scary log messages */ | | | 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 | } } if( pInode->bProcessLock==0 ){ #ifdef __APPLE__ /* On MacOS and iOS, avoid even trying to open a read-only SHM file ** for writing, because doing so generates scary log messages */ if( osAccess(zShm, R_OK|W_OK)!=0 && (errno==EPERM || errno==EACCES) ){ pShmNode->h = -1; }else #endif if( 0==sqlite3_uri_boolean(pDbFd->zPath, "readonly_shm", 0) ){ pShmNode->h = robust_open(zShm, O_RDWR|O_CREAT, (sStat.st_mode&0777)); } if( pShmNode->h<0 ){ |
︙ | ︙ |