From: drh Date: Sun, 29 Jun 2003 16:11:12 +0000 (+0000) Subject: Documentation updates. (CVS 1037) X-Git-Tag: version-3.6.10~5031 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=88c0df2a841b75911adf6e9b5272f93bf46f6099;p=thirdparty%2Fsqlite.git Documentation updates. (CVS 1037) FossilOrigin-Name: ab21de5fdd8e45be19411cdba647eada0bc9a9f1 --- diff --git a/manifest b/manifest index fffa345d7e..47271496db 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Minor\schange\sto\sa\scomment\sin\sencode.c.\s(CVS\s1036) -D 2003-06-28T16:25:34 +C Documentation\supdates.\s(CVS\s1037) +D 2003-06-29T16:11:13 F Makefile.in 9ad23ed4ca97f9670c4496432e3fbd4b3760ebde F Makefile.linux-gcc b86a99c493a5bfb402d1d9178dcdc4bd4b32f906 F README f1de682fbbd94899d50aca13d387d1b3fd3be2dd @@ -153,20 +153,20 @@ F www/datatypes.tcl 0cb28565580554fa7e03e8fcb303e87ce57757ae F www/download.tcl 0932d7f4f0e8b2adbbd22fac73132f86e43ab4a9 F www/dynload.tcl 02eb8273aa78cfa9070dd4501dca937fb22b466c F www/faq.tcl 88d3b95d9cd8e374772daa3a646c4d107e7f3e9b -F www/fileformat.tcl d9b586416c0d099b82e02e469d532c9372f98f3f -F www/formatchng.tcl cbaf0f410096c71f86a7537cf9249fa04b9a659c +F www/fileformat.tcl ae6ccf3ffddb180a5af173cd6ee102169629762b +F www/formatchng.tcl ca6cc1cb1bef9bc36f0619049d3c95e749bc6983 F www/index.tcl a34315cada875af0b098b4c45981da8ab33fe7b6 F www/lang.tcl 2890eb85809c8fca20c1d81fa30fbdbceecc2a43 F www/mingw.tcl d96b451568c5d28545fefe0c80bee3431c73f69c F www/nulls.tcl 29497dac2bc5b437aa7e2e94577dad4d8933ed26 F www/omitted.tcl 118062f40a203fcb88b8d68ef1d7c0073ac191ec -F www/opcode.tcl 1ff274b0ca7c8a60f7b231a47e4e95cfc3b2873d +F www/opcode.tcl b8d561f33597c62955796b797646f00144d97332 F www/quickstart.tcl 4e97bef825e6a4153c43afb9f97235fc4da278ab -F www/speed.tcl 296cc5632d069b56d3ef5409ca0df90f486c10fb -F www/sqlite.tcl 4bd1729e320f5fa9125f0022b281fbe839192125 +F www/speed.tcl 2f6b1155b99d39adb185f900456d1d592c4832b3 +F www/sqlite.tcl 3c83b08cf9f18aa2d69453ff441a36c40e431604 F www/tclsqlite.tcl 1db15abeb446aad0caf0b95b8b9579720e4ea331 -F www/vdbe.tcl 14fdcc7fe8a60a6ba8584903636db8dc37eef26a -P e2ca936feee35b3fce99c95c2cf8c0ad05cd9c3b -R cfb713a77db3ee45d8bfec587408e8ac +F www/vdbe.tcl 9b9095d4495f37697fd1935d10e14c6015e80aa1 +P 3f252b72c9d9ea586161a1b2c5ae297594a1cd4a +R 87f87a54019b928d5e2979797a3f7684 U drh -Z 158078b48c563543782d1f7f2db6bee1 +Z a392097628a4ed270b38ce1c06b187a7 diff --git a/manifest.uuid b/manifest.uuid index 67a0050528..b13a706581 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -3f252b72c9d9ea586161a1b2c5ae297594a1cd4a \ No newline at end of file +ab21de5fdd8e45be19411cdba647eada0bc9a9f1 \ No newline at end of file diff --git a/www/fileformat.tcl b/www/fileformat.tcl index 8b91d6941b..24f4242215 100644 --- a/www/fileformat.tcl +++ b/www/fileformat.tcl @@ -1,7 +1,7 @@ # # Run this script to generated a fileformat.html output file # -set rcsid {$Id: fileformat.tcl,v 1.8 2003/02/13 02:54:04 drh Exp $} +set rcsid {$Id: fileformat.tcl,v 1.9 2003/06/29 16:11:13 drh Exp $} puts { @@ -76,7 +76,7 @@ A journal file begins with 8 bytes as follows: Processes that are attempting to rollback a journal use these 8 bytes as a sanity check to make sure the file they think is a journal really is a valid journal. Prior version of SQLite used different journal -file formats. The magic numbers for these prior formats is differ +file formats. The magic numbers for these prior formats are different so that if a new version of the library attempts to rollback a journal created by an earlier version, it can detect that the journal uses an obsolete format and make the necessary adjustments. This article diff --git a/www/formatchng.tcl b/www/formatchng.tcl index 688ca42762..bc07d45ba1 100644 --- a/www/formatchng.tcl +++ b/www/formatchng.tcl @@ -1,7 +1,7 @@ # # Run this Tcl script to generate the formatchng.html file. # -set rcsid {$Id: formatchng.tcl,v 1.8 2003/02/13 02:54:04 drh Exp $ } +set rcsid {$Id: formatchng.tcl,v 1.9 2003/06/29 16:11:13 drh Exp $ } puts { @@ -154,7 +154,7 @@ occurred since version 1.0.0: indices on "text" columns occur in a different order for version 2.7.0 and later database. Hence version 2.6.3 and earlier of SQLite will be unable to read a 2.7.0 or later database. But version 2.7.0 - and later of SQLite will read earlier database version.

+ and later of SQLite will read earlier databases.

diff --git a/www/opcode.tcl b/www/opcode.tcl index fec39eedc8..840c193343 100644 --- a/www/opcode.tcl +++ b/www/opcode.tcl @@ -1,7 +1,7 @@ # # Run this Tcl script to generate the sqlite.html file. # -set rcsid {$Id: opcode.tcl,v 1.11 2003/06/02 06:29:31 jplyon Exp $} +set rcsid {$Id: opcode.tcl,v 1.12 2003/06/29 16:11:13 drh Exp $} puts { @@ -160,16 +160,17 @@ for learning how the virtual machine operates.

instructions generated by an SQL statement. The following is an example:

} - proc Code {body} { - puts {
}
+  puts {
} regsub -all {&} [string trim $body] {\&} body regsub -all {>} $body {\>} body regsub -all {<} $body {\<} body - regsub -all {\(\(\(} $body {} body - regsub -all {\)\)\)} $body {} body + regsub -all {\(\(\(} $body {} body + regsub -all {\)\)\)} $body {} body + regsub -all { } $body {\ } body + regsub -all \n $body
\n body puts $body - puts {
} + puts {} } Code { diff --git a/www/speed.tcl b/www/speed.tcl index 79dae87a73..a86814e4cc 100644 --- a/www/speed.tcl +++ b/www/speed.tcl @@ -1,7 +1,7 @@ # # Run this Tcl script to generate the speed.html file. # -set rcsid {$Id: speed.tcl,v 1.12 2003/06/05 15:05:35 drh Exp $ } +set rcsid {$Id: speed.tcl,v 1.13 2003/06/29 16:11:13 drh Exp $ } puts { @@ -28,7 +28,7 @@ conclusions drawn from these experiments:
  • SQLite 2.7.6 is significantly faster (sometimes as much as 10 or 20 times faster) than the default PostgreSQL 7.1.3 installation - on RedHat 7.3 for most common operations. + on RedHat 7.2 for most common operations.

  • SQLite 2.7.6 is often faster (sometimes @@ -187,7 +187,7 @@ have to do any fsync()s until the very end. When unshackled in this way, SQLite is much faster than either PostgreSQL and MySQL.

    -

    Test 3: 25000 INSERTs into an indexed tablel

    +

    Test 3: 25000 INSERTs into an indexed table

    BEGIN;
    CREATE TABLE t3(a INTEGER, b INTEGER, c VARCHAR(100));
    diff --git a/www/sqlite.tcl b/www/sqlite.tcl index b8fe90d14c..b777074733 100644 --- a/www/sqlite.tcl +++ b/www/sqlite.tcl @@ -1,7 +1,7 @@ # # Run this Tcl script to generate the sqlite.html file. # -set rcsid {$Id: sqlite.tcl,v 1.20 2003/05/10 02:54:57 jplyon Exp $} +set rcsid {$Id: sqlite.tcl,v 1.21 2003/06/29 16:11:13 drh Exp $} puts { @@ -35,14 +35,16 @@ with a single table named "tbl1", you might do this:

    } proc Code {body} { - puts {
    }
    +  puts {
    } regsub -all {&} [string trim $body] {\&} body regsub -all {>} $body {\>} body regsub -all {<} $body {\<} body - regsub -all {\(\(\(} $body {} body - regsub -all {\)\)\)} $body {} body + regsub -all {\(\(\(} $body {} body + regsub -all {\)\)\)} $body {} body + regsub -all { } $body {\ } body + regsub -all \n $body
    \n body puts $body - puts {
    } + puts {
    } } Code { @@ -59,10 +61,6 @@ sqlite> } puts { -

    (In the example above, and in all subsequent examples, the commands -you type are underlined and shown with a green tint and the responses -from the computer are shown in black without underlining.)

    -

    You can terminate the sqlite program by typing your systems End-Of-File character (usually a Control-D) or the interrupt character (usually a Control-C).

    diff --git a/www/vdbe.tcl b/www/vdbe.tcl index fef0bc372d..9b1037f185 100644 --- a/www/vdbe.tcl +++ b/www/vdbe.tcl @@ -1,7 +1,7 @@ # # Run this Tcl script to generate the vdbe.html file. # -set rcsid {$Id: vdbe.tcl,v 1.10 2003/06/07 08:57:58 jplyon Exp $} +set rcsid {$Id: vdbe.tcl,v 1.11 2003/06/29 16:11:13 drh Exp $} puts { @@ -105,16 +105,17 @@ INSERT with the special keyword "EXPLAIN". The EXPLAIN keyword will cause sqlite to print the VDBE program rather than execute it. We have:

    } - proc Code {body} { - puts {
    }
    +  puts {
    } regsub -all {&} [string trim $body] {\&} body regsub -all {>} $body {\>} body regsub -all {<} $body {\<} body - regsub -all {\(\(\(} $body {} body - regsub -all {\)\)\)} $body {} body + regsub -all {\(\(\(} $body {} body + regsub -all {\)\)\)} $body {} body + regsub -all { } $body {\ } body + regsub -all \n $body
    \n body puts $body - puts {
    } + puts {} } Code {