diff options
author | drh <drh@noemail.net> | 2011-04-13 20:26:13 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2011-04-13 20:26:13 +0000 |
commit | 50990dbb2996ef4366b42a43b9854a22db2bd114 (patch) | |
tree | 976a4039652ff851c54be917b1e33fd4b756bb72 /src/os_unix.c | |
parent | 47fb00085491d65ff74f1293b85356e8b48348fc (diff) | |
download | sqlite-50990dbb2996ef4366b42a43b9854a22db2bd114.tar.gz sqlite-50990dbb2996ef4366b42a43b9854a22db2bd114.zip |
Add new extended error codes for I/O errors on seek and shared-memory map.
Add sqlite3_log() calls in the windows backend to record details of errors.
FossilOrigin-Name: fe603217fce8e3a696bd108d5ae7f7a291b7e215
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 744d85776..b70a9a607 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -3915,7 +3915,7 @@ static int unixShmMap( MAP_SHARED, pShmNode->h, pShmNode->nRegion*szRegion ); if( pMem==MAP_FAILED ){ - rc = SQLITE_IOERR; + rc = unixLogError(SQLITE_IOERR_SHMMAP, "mmap", pShmNode->zFilename); goto shmpage_out; } }else{ |