From: drh Date: Mon, 12 Nov 2001 12:43:22 +0000 (+0000) Subject: Version 2.1.0 prerelease (CVS 309) X-Git-Tag: version-3.6.10~5727 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=778326010cd1ab6453fb3fc7426e2b43e361e013;p=thirdparty%2Fsqlite.git Version 2.1.0 prerelease (CVS 309) FossilOrigin-Name: 4f4ac42214610d900a5d6db63a511d9e7b22f0f9 --- diff --git a/manifest b/manifest index 0beb0a4795..47d022d244 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Comment\schanges\s(CVS\s308) -D 2001-11-10T13:51:08 +C Version\s2.1.0\sprerelease\s(CVS\s309) +D 2001-11-12T12:43:22 F Makefile.in 6801df952cb1df64aa32e4de85fed24511d28efd F Makefile.template 1fdb891f14083ee0b63cf7282f91529634438e7a F README a4c0ba11354ef6ba0776b400d057c59da47a4cc0 @@ -107,7 +107,7 @@ F www/changes.tcl 983aecfb6bdfdd2b44c32de59414029da80ca164 F www/crosscompile.tcl c99efacb3aefaa550c6e80d91b240f55eb9fd33e F www/download.tcl 3e51c9ff1326b0a182846134987301310dff7d60 F www/dynload.tcl 02eb8273aa78cfa9070dd4501dca937fb22b466c -F www/index.tcl b9d166d09fa4237d31d78be49f2b8b205e6e7678 +F www/index.tcl fa0ee4b5343fd216ee5db0285501e45484189484 F www/lang.tcl f0e953bfeaaba4c33117ec4bca639dd71ba0e13e F www/mingw.tcl fc5f4ba9d336b6e8c97347cc6496d6162461ef60 F www/opcode.tcl 7989ed328316454c7030dcdb60f09ae1e017286d @@ -115,7 +115,7 @@ F www/speed.tcl 212a91d555384e01873160d6a189f1490c791bc2 F www/sqlite.tcl 6a21242a272e9c0939a04419a51c3d50cae33e3e F www/tclsqlite.tcl 13d50723f583888fc80ae1a38247c0ab415066fa F www/vdbe.tcl bb7d620995f0a987293e9d4fb6185a3b077e9b44 -P 6e7e7dbf8e93d00eced88404aed792fcf9e75b7d -R 18e925419ed8c85ff1b4931f4627f2c0 +P 2d2ad264aad6fbdcef586e73d750e3fde842252f +R 16c00ab1c6dd8026c015350394df2b49 U drh -Z a3df24ec6e762840d7c455a8f753602e +Z a0e64c7188bd5b5811337fabdc6b35c2 diff --git a/manifest.uuid b/manifest.uuid index fa31f52a80..25e88777de 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -2d2ad264aad6fbdcef586e73d750e3fde842252f \ No newline at end of file +4f4ac42214610d900a5d6db63a511d9e7b22f0f9 \ No newline at end of file diff --git a/www/index.tcl b/www/index.tcl index c59b4a9441..4dd9c9b309 100644 --- a/www/index.tcl +++ b/www/index.tcl @@ -1,7 +1,7 @@ # # Run this TCL script to generate HTML for the index.html file. # -set rcsid {$Id: index.tcl,v 1.46 2001/11/01 14:41:34 drh Exp $} +set rcsid {$Id: index.tcl,v 1.47 2001/11/12 12:43:22 drh Exp $} puts { SQLite: An SQL Database Engine In A C Library @@ -44,7 +44,7 @@ puts {

Features

  • A complete database (with multiple tables and indices) is stored in a single disk file.
  • Atomic commit and rollback protect data integrity.
  • -
  • Small memory footprint: about 12000 lines of C code.
  • +
  • Small memory footprint: about 14000 lines of C code.
  • Four times faster than PostgreSQL. Twice as fast as SQLite 1.0.
  • Very simple @@ -66,28 +66,38 @@ The latest source code is available for download. There are currently no known memory leaks or bugs in the library. -SQLite is currently being used in several mission-critical +SQLite 2.1.0 is currently being used in several mission-critical applications.

    -The file format used changed beginning with version 2.0.0. Version 1.0.X -of SQLite used GDBM as its database backend. Version 2.0.0 and later -use a built-in implementation of B-trees. If you have older 1.0 databases -you will need to convert them before they can be read using a 2.0 -release of SQLite. The following command will convert a legacy -database into the new 2.0 format: +The SQLite file format changed beginning with version 2.1.0. The +same basic B-Tree structure from version 2.0.0 is used but the +details of indices where altered to permit better query optimization +and the B-Tree table entry headers where changed slightly to expand the +maximum amount of data on a row from 64KB to 16MB. +The file format changes +between 2.0.8 and 2.1.0 are small but they still require that you +dump and restore your old databases. The following command should +suffice:

    -echo .dump | sqlite1.0 old.db | sqlite2.0 new.db
    +echo .dump | sqlite2.0 old.db | sqlite2.1 new.db
     

    -The above command assumes that sqlite1.0 is sqlite version 1.0 -and sqlite2.0 is sqlite version 2.0. The old database is stored -in a directory named old.db and the new database is created in -the file new.db. +The above command assumes that sqlite2.0 is any of the +2.0 series of sqlite command-line tools and sqlite2.1 is the +new version 2.1 sqlite command-line tool. +

    + +

    +Version 1.0.X of SQLite used GDBM as its backend and so its +file format is complete incompatable with all version 2.0 and +version 2.1 SQLite releases. Legacy databases must be dumped to +ASCII and reloaded, as shown above, before they can be used with +newer versions of SQLite.

    Documentation