1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-11-06 15:49:35 +03:00

Reduce the default SQLITE_MAX_MMAP_SIZE slightly so that it fits in a

signed 32-bit integer.

FossilOrigin-Name: 460752b8575320163d2659bb7ff24aff41e2bb66
This commit is contained in:
drh
2013-04-26 12:08:29 +00:00
parent ea41dc44c5
commit 2bba8c249a
3 changed files with 8 additions and 8 deletions

View File

@@ -563,7 +563,7 @@ extern const int sqlite3one;
|| defined(_WIN32) \
|| (defined(__APPLE__) && defined(__MACH__)) \
|| defined(__sun)
# define SQLITE_MAX_MMAP_SIZE 2147483648
# define SQLITE_MAX_MMAP_SIZE 0x7fff0000 /* 2147418112 */
# else
# define SQLITE_MAX_MMAP_SIZE 0
# endif