aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteLimit.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2015-03-09 13:24:46 +0000
committerdrh <drh@noemail.net>2015-03-09 13:24:46 +0000
commita9106ca83d7f66a76fb5143a812423148380c305 (patch)
tree2420c7a8fbdc7ddd4df7d675f1f73fda11cbcbf6 /src/sqliteLimit.h
parent54fc21438e169c76ed2695505fc7b0e42a46fc68 (diff)
parent80314629393b0bf728465d15ec1f2428c2e9d5c9 (diff)
downloadsqlite-a9106ca83d7f66a76fb5143a812423148380c305.tar.gz
sqlite-a9106ca83d7f66a76fb5143a812423148380c305.zip
Merge recent trunk enhancements into the ota-update branch.
FossilOrigin-Name: 5489cb68921f62f10d832adbc4d19ea8c6c5da50
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