aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteLimit.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2015-03-09 13:07:45 +0000
committerdrh <drh@noemail.net>2015-03-09 13:07:45 +0000
commitc11a172d5fff6eff2bb54f391e36112ea32fb1c1 (patch)
treed00e4adfe5c3cd7b934498f620d40a4caf0b0218 /src/sqliteLimit.h
parent2f82071478261a63280dec5c954f59c3dbdf90ca (diff)
parent80314629393b0bf728465d15ec1f2428c2e9d5c9 (diff)
downloadsqlite-c11a172d5fff6eff2bb54f391e36112ea32fb1c1.tar.gz
sqlite-c11a172d5fff6eff2bb54f391e36112ea32fb1c1.zip
Merge recent trunk enhancements into the sessions branch.
FossilOrigin-Name: 68c8937e83b770d5ec6b1855c1bde81057c11b5f
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