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

Change the default cache_size to -2000 (which means 2000*1024 bytes

independent of page_size).

FossilOrigin-Name: 2682e8e413fadbca0673f242769af17bfd291559
This commit is contained in:
drh
2016-03-04 04:01:43 +00:00
parent 9878fefd6f
commit 94580868f5
3 changed files with 9 additions and 9 deletions

View File

@@ -102,12 +102,12 @@
** the main database table and for temporary tables.
**
** IMPLEMENTATION-OF: R-31093-59126 The default suggested cache size
** is 2000 pages.
** is 2000*1024 bytes.
** 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
# define SQLITE_DEFAULT_CACHE_SIZE -2000
#endif
/*