SQLite
Check-in [460752b8575320163d2659bb7ff24aff41e2bb66]
Not logged in
Overview
SHA1 Hash:460752b8575320163d2659bb7ff24aff41e2bb66
Date: 2013-04-26 12:08:29
User: drh
Comment:Reduce the default SQLITE_MAX_MMAP_SIZE slightly so that it fits in a signed 32-bit integer.
Tags And Properties
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/sqliteInt.h

559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
# endif
#endif
#ifndef SQLITE_MAX_MMAP_SIZE
# if defined(__linux__) \
  || defined(_WIN32) \
  || (defined(__APPLE__) && defined(__MACH__)) \
  || defined(__sun)
#   define SQLITE_MAX_MMAP_SIZE 2147483648
# else
#   define SQLITE_MAX_MMAP_SIZE 0
# endif
# define SQLITE_MAX_MMAP_SIZE_xc 1 /* exclude from ctime.c */
#endif

/*







|







559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
# endif
#endif
#ifndef SQLITE_MAX_MMAP_SIZE
# if defined(__linux__) \
  || defined(_WIN32) \
  || (defined(__APPLE__) && defined(__MACH__)) \
  || defined(__sun)
#   define SQLITE_MAX_MMAP_SIZE 0x7fff0000  /* 2147418112 */
# else
#   define SQLITE_MAX_MMAP_SIZE 0
# endif
# define SQLITE_MAX_MMAP_SIZE_xc 1 /* exclude from ctime.c */
#endif

/*