From: drh Date: Fri, 21 Jan 2005 21:22:52 +0000 (+0000) Subject: More documentation changes. Allow SQLITE_DEFAULT_CACHE_SIZE to set the X-Git-Tag: version-3.6.10~3891 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1ba1e6e0b93891cb0c7cc7ecda6e4e7daddd1448;p=thirdparty%2Fsqlite.git 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 --- diff --git a/manifest b/manifest index 502761b97d..047f80562e 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Version\s3.1.0\s(alpha)\s(CVS\s2260) -D 2005-01-21T18:28:55 +C More\sdocumentation\schanges.\s\sAllow\sSQLITE_DEFAULT_CACHE_SIZE\sto\sset\sthe\ndefault\scache\ssize\sfor\sthe\spager\sat\scompile-time.\s(CVS\s2261) +D 2005-01-21T21:22:52 F Makefile.in ffd81f5e926d40b457071b4de8d7c1fa18f39b5a F Makefile.linux-gcc a9e5a0d309fa7c38e7c14d3ecf7690879d3a5457 F README a01693e454a00cc117967e3f9fdab2d4d52e9bc1 @@ -61,7 +61,7 @@ F src/random.c eff68e3f257e05e81eae6c4d50a51eb88beb4ff3 F src/select.c e204ca5292751ed889f2cbcf2d2808a4d29edd2c F src/shell.c 591364a0e9ca4ce53873e21e0294476c0c2b4770 F src/sqlite.h.in 8249b697d71ef6d7f7f752ba4ca04058e9e8b5ff -F src/sqliteInt.h 01ea63415bb96ad8ab6e26bede2aa6a39cefb082 +F src/sqliteInt.h 4a0651242aeeda0df5e724a78133d97035e09278 F src/table.c 25b3ff2b39b7d87e8d4a5da0713d68dfc06cbee9 F src/tclsqlite.c fd27457b228118be96524dae285146c76efe032b F src/test1.c 35c055c934ea9797d1b8ca7083ced6a9b263f2ec @@ -248,7 +248,7 @@ F www/datatype3.tcl 1d14f70ab73075556b95e76a5c13e5b03f7f6c47 F www/datatypes.tcl 7c786d2e8ff434346764534ec015966d17efce60 F www/different.tcl 051086bc273a36808dc08d58ed098611fb53e315 F www/docs.tcl 09e5eccffad783fe65fac87772f5265e9bb64abe -F www/download.tcl 4d8ff8c882063b864d004c524e4e7456858f09a5 +F www/download.tcl 9263a5418c7c0945ff86c1011b8a048f1db3ef2a F www/dynload.tcl 02eb8273aa78cfa9070dd4501dca937fb22b466c F www/faq.tcl abe360e630d8134bc6242c5e3664969c397eac6e F www/fileformat.tcl 900c95b9633abc3dcfc384d9ddd8eb4876793059 @@ -271,7 +271,7 @@ F www/tclsqlite.tcl e73f8f8e5f20e8277619433f7970060ab01088fc F www/vdbe.tcl 095f106d93875c94b47367384ebc870517431618 F www/version3.tcl 092a01f5ef430d2c4acc0ae558d74c4bb89638a0 F www/whentouse.tcl 3e522a06ad41992023c80ca29a048ae2331ca5bd -P fc4f1f13d053f861b6be0ceba29bd9e62554252f -R 8d7b3736901be3c2930c91d7488142dd +P 45094abe38c3d35b0528fc28503aff604e9087f8 +R f18f2d3fdfdd29eb6f952a323ebb7dc4 U drh -Z 8835361bb456a42e44a84805c2135033 +Z 0d5625e7b40b3d8c1b65f3dd738c17a6 diff --git a/manifest.uuid b/manifest.uuid index 20b2cb374b..4dffabcbe7 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -45094abe38c3d35b0528fc28503aff604e9087f8 \ No newline at end of file +2ddb6748751c0135a42e6d0bcc303d06d8e17cf3 \ No newline at end of file diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 282b6de36c..2e30ea701c 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -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 /* diff --git a/www/download.tcl b/www/download.tcl index e1e8df0100..3f53463f37 100644 --- a/www/download.tcl +++ b/www/download.tcl @@ -1,7 +1,7 @@ # # Run this TCL script to generate HTML for the download.html file. # -set rcsid {$Id: download.tcl,v 1.16 2004/11/11 19:32:40 drh Exp $} +set rcsid {$Id: download.tcl,v 1.17 2005/01/21 21:22:52 drh Exp $} source common.tcl header {SQLite Download Page} @@ -11,7 +11,7 @@ puts { } proc Product {pattern desc} { - regsub VERSION $pattern {([0-9a-z._]+)} p2 + regsub VERSION $pattern {([0-9][0-9a-z._]+)} p2 set p2 [string map {* .*} $p2] regsub VERSION $pattern {*} p3 set flist [glob -nocomplain $p3]