aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteLimit.h
diff options
context:
space:
mode:
authordan <dan@noemail.net>2015-03-21 15:45:24 +0000
committerdan <dan@noemail.net>2015-03-21 15:45:24 +0000
commit71138b0f0fe7746b685d2cafb6ce821d1a1dd69b (patch)
tree702071165ccf40e4a1728080fcfb262369e0e57e /src/sqliteLimit.h
parent8885708c3ceebe9f7b7f7851faf1ca3c998b0f2e (diff)
parentb4e0fd26e3fad8124dd51a1ee1dc6e6286eff5a0 (diff)
downloadsqlite-71138b0f0fe7746b685d2cafb6ce821d1a1dd69b.tar.gz
sqlite-71138b0f0fe7746b685d2cafb6ce821d1a1dd69b.zip
Merge trunk changes with this branch.
FossilOrigin-Name: 142743918fd5a6d79fa10c44398360c3684a255a
Diffstat (limited to 'src/sqliteLimit.h')
-rw-r--r--src/sqliteLimit.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/sqliteLimit.h b/src/sqliteLimit.h
index c7aee53ce..75cad1274 100644
--- a/src/sqliteLimit.h
+++ b/src/sqliteLimit.h
@@ -98,15 +98,17 @@
#endif
/*
-** The maximum number of in-memory pages to use for the main database
-** table and for temporary tables. The SQLITE_DEFAULT_CACHE_SIZE
+** The suggested maximum number of in-memory pages to use for
+** the main database table and for temporary tables.
+**
+** IMPLEMENTATION-OF: R-31093-59126 The default suggested cache size
+** is 2000 pages.
+** IMPLEMENTATION-OF: R-48205-43578 The default suggested cache size can be
+** altered using the SQLITE_DEFAULT_CACHE_SIZE compile-time options.
*/
#ifndef SQLITE_DEFAULT_CACHE_SIZE
# define SQLITE_DEFAULT_CACHE_SIZE 2000
#endif
-#ifndef SQLITE_DEFAULT_TEMP_CACHE_SIZE
-# define SQLITE_DEFAULT_TEMP_CACHE_SIZE 500
-#endif
/*
** The default number of frames to accumulate in the log file before