/ Check-in [b82e85ec]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Do not include <sys/mmap.h> if SQLITE_OMIT_WAL is defined.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: b82e85ece94c8e25c1dc3251f5444a295fbf8c89
User & Date: drh 2010-12-22 21:48:51
Context
2010-12-24
15:49
Reduce the number of calls to sqlite3_realloc() made by fts3 when querying for position information of a term prefix. check-in: 7088d945 user: dan tags: trunk
2010-12-22
21:48
Do not include <sys/mmap.h> if SQLITE_OMIT_WAL is defined. check-in: b82e85ec user: drh tags: trunk
2010-12-21
21:28
Add test cases for the new lookaside hit and miss status outputs. Add the output of lookaside hit and miss to the command-line shell statistics. check-in: b0888047 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/os_unix.c.

   115    115   #include <sys/types.h>
   116    116   #include <sys/stat.h>
   117    117   #include <fcntl.h>
   118    118   #include <unistd.h>
   119    119   #include <time.h>
   120    120   #include <sys/time.h>
   121    121   #include <errno.h>
          122  +#ifndef SQLITE_OMIT_WAL
   122    123   #include <sys/mman.h>
          124  +#endif
   123    125   
   124    126   #if SQLITE_ENABLE_LOCKING_STYLE
   125    127   # include <sys/ioctl.h>
   126    128   # if OS_VXWORKS
   127    129   #  include <semaphore.h>
   128    130   #  include <limits.h>
   129    131   # else