aboutsummaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2010-05-18 13:27:12 +0000
committerdrh <drh@noemail.net>2010-05-18 13:27:12 +0000
commit5939f4437558328fa43d6b6c84ed7f44a894c753 (patch)
tree8efb511ee08d42f9ccff76fe83921fec19d789c9 /src/os_unix.c
parente730fec8836f3c6cebd82a0e7914aab50aa55c74 (diff)
downloadsqlite-5939f4437558328fa43d6b6c84ed7f44a894c753.tar.gz
sqlite-5939f4437558328fa43d6b6c84ed7f44a894c753.zip
Mark the shared-memory in the WAL implementation as volatile.
FossilOrigin-Name: 0a6787908e989bd5e6af25acbdc59ebc8fa61d6d
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index 420623824..928ee6355 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -3675,7 +3675,7 @@ static int unixShmGet(
sqlite3_file *fd, /* Database file holding shared memory */
int reqMapSize, /* Requested size of mapping. -1 means don't care */
int *pNewMapSize, /* Write new size of mapping here */
- void **ppBuf /* Write mapping buffer origin here */
+ void volatile **ppBuf /* Write mapping buffer origin here */
){
unixFile *pDbFd = (unixFile*)fd;
unixShm *p = pDbFd->pShm;