1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Remove all references to SQLITE_DEFAULT_TEMP_CACHE_SIZE. Add requirements

marks related to cache_size changing.

FossilOrigin-Name: 766ad65025a9d5815300978e6e349f5af5db6012
This commit is contained in:
drh
2015-02-27 21:53:35 +00:00
parent 9d356fbe6e
commit e0e8429543
5 changed files with 22 additions and 19 deletions

View File

@@ -101,18 +101,14 @@
** The suggested maximum number of in-memory pages to use for
** the main database table and for temporary tables.
**
** EVIDENCE-OF: R-31093-59126 The default suggested cache size is 2000
** pages.
**
** EVIDENCE-OF: R-45985-54577 The default cache sizes can be adjusted by
** the SQLITE_DEFAULT_CACHE_SIZE compile-time options.
** 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