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:
@@ -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
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user