aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2015-07-14 15:39:22 +0000
committerdrh <drh@noemail.net>2015-07-14 15:39:22 +0000
commit38151adfe2f51c07ca50e9cbc6f44a9811097eb1 (patch)
tree44ecb68858c63553a92e23f56db4481f7a620327 /src/sqliteInt.h
parentbed6de557a5282f92ed5019d5c89129a6ece6bab (diff)
parent201e0c68f7d5d19ba759f56fadd0d58c838c41f9 (diff)
downloadsqlite-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.h10
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