mirror of
https://github.com/sqlite/sqlite.git
synced 2025-10-30 07:05:46 +03:00
More documentation changes. Allow SQLITE_DEFAULT_CACHE_SIZE to set the
default cache size for the pager at compile-time. (CVS 2261) FossilOrigin-Name: 2ddb6748751c0135a42e6d0bcc303d06d8e17cf3
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
*************************************************************************
|
||||
** Internal interface definitions for SQLite.
|
||||
**
|
||||
** @(#) $Id: sqliteInt.h,v 1.360 2005/01/21 03:12:15 danielk1977 Exp $
|
||||
** @(#) $Id: sqliteInt.h,v 1.361 2005/01/21 21:22:52 drh Exp $
|
||||
*/
|
||||
#ifndef _SQLITEINT_H_
|
||||
#define _SQLITEINT_H_
|
||||
@@ -60,7 +60,11 @@
|
||||
** The maximum number of in-memory pages to use for the main database
|
||||
** table and for temporary tables.
|
||||
*/
|
||||
#define MAX_PAGES 2000
|
||||
#ifdef SQLITE_DEFAULT_CACHE_SIZE
|
||||
# define MAX_PAGES SQLITE_DEFAULT_CACHE_SIZE
|
||||
#else
|
||||
# define MAX_PAGES 2000
|
||||
#endif
|
||||
#define TEMP_PAGES 500
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user