diff options
author | drh <drh@noemail.net> | 2015-07-14 15:39:22 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2015-07-14 15:39:22 +0000 |
commit | 38151adfe2f51c07ca50e9cbc6f44a9811097eb1 (patch) | |
tree | 44ecb68858c63553a92e23f56db4481f7a620327 /src/sqliteInt.h | |
parent | bed6de557a5282f92ed5019d5c89129a6ece6bab (diff) | |
parent | 201e0c68f7d5d19ba759f56fadd0d58c838c41f9 (diff) | |
download | sqlite-38151adfe2f51c07ca50e9cbc6f44a9811097eb1.tar.gz sqlite-38151adfe2f51c07ca50e9cbc6f44a9811097eb1.zip |
Merge trunk changes, including the addition of FTS5 and pcache1 performance
enhancements.
FossilOrigin-Name: db4cbefb8674c6cfff27c1e918741de1885c845c
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 31e054fd5..6edb885c1 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -509,6 +509,16 @@ # define SQLITE_MAX_WORKER_THREADS SQLITE_DEFAULT_WORKER_THREADS #endif +/* +** The default initial allocation for the pagecache when using separate +** pagecaches for each database connection. A positive number is the +** number of pages. A negative number N translations means that a buffer +** of -1024*N bytes is allocated and used for as many pages as it will hold. +*/ +#ifndef SQLITE_DEFAULT_PCACHE_INITSZ +# define SQLITE_DEFAULT_PCACHE_INITSZ 100 +#endif + /* ** GCC does not define the offsetof() macro so we'll have to do it |