From: drh Date: Sun, 15 Jun 2003 23:49:38 +0000 (+0000) Subject: Update the documentation to reflect the new capabilities of PRAGMA X-Git-Tag: version-3.6.10~5043 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4d9fc3231b7c30606b9f7be619f87401757ca5cb;p=thirdparty%2Fsqlite.git Update the documentation to reflect the new capabilities of PRAGMA integrity_check. Rewording in the VACUUM documentation. (CVS 1025) FossilOrigin-Name: 38461a7acb5281edd7078b1b3f227bb45f281757 --- diff --git a/manifest b/manifest index 461eb5a96c..d87943f891 100644 --- a/manifest +++ b/manifest @@ -1,5 +1,5 @@ -C Enhance\sthe\s"PRAGMA\sintegrity_check"\scommand\sto\sverify\sthat\sall\sindices\sare\ncorrectly\sconstructed.\s\sNew\scalls\sto\sintegrity_check\sare\smade\sin\sthe\stest\nsuite.\sThese\schanges\sare\sintended\sto\sprevent\sany\sfuture\sproblems\ssuch\nas\sseen\sin\sticket\s#334.\s(CVS\s1024) -D 2003-06-15T23:42:24 +C Update\sthe\sdocumentation\sto\sreflect\sthe\snew\scapabilities\sof\sPRAGMA\nintegrity_check.\s\sRewording\sin\sthe\sVACUUM\sdocumentation.\s(CVS\s1025) +D 2003-06-15T23:49:39 F Makefile.in 9ad23ed4ca97f9670c4496432e3fbd4b3760ebde F Makefile.linux-gcc b86a99c493a5bfb402d1d9178dcdc4bd4b32f906 F README f1de682fbbd94899d50aca13d387d1b3fd3be2dd @@ -155,7 +155,7 @@ F www/faq.tcl 88d3b95d9cd8e374772daa3a646c4d107e7f3e9b F www/fileformat.tcl d9b586416c0d099b82e02e469d532c9372f98f3f F www/formatchng.tcl cbaf0f410096c71f86a7537cf9249fa04b9a659c F www/index.tcl a34315cada875af0b098b4c45981da8ab33fe7b6 -F www/lang.tcl 860e881dd62074ee86f1fa1f1a4fe4ab4f76ce78 +F www/lang.tcl 2890eb85809c8fca20c1d81fa30fbdbceecc2a43 F www/mingw.tcl d96b451568c5d28545fefe0c80bee3431c73f69c F www/nulls.tcl 29497dac2bc5b437aa7e2e94577dad4d8933ed26 F www/omitted.tcl 118062f40a203fcb88b8d68ef1d7c0073ac191ec @@ -165,7 +165,7 @@ F www/speed.tcl 296cc5632d069b56d3ef5409ca0df90f486c10fb F www/sqlite.tcl 4bd1729e320f5fa9125f0022b281fbe839192125 F www/tclsqlite.tcl 1db15abeb446aad0caf0b95b8b9579720e4ea331 F www/vdbe.tcl 14fdcc7fe8a60a6ba8584903636db8dc37eef26a -P 826aab43d5967ece2a272c49ce62021fa4a2ceb3 -R 651f8eac1fc1c1d3257c65b978b3107e +P c9734c27074d2039a1896a8c6965c08d03711b13 +R 043885dfa9758e2ea548e60c85008260 U drh -Z 6d6fc61d18f82a7eddc9efe63cd1c9d0 +Z d48a4138996f6646f8306c8e5dba91bb diff --git a/manifest.uuid b/manifest.uuid index e381b9aa02..dec4f97775 100644 --- a/manifest.uuid +++ b/manifest.uuid @@ -1 +1 @@ -c9734c27074d2039a1896a8c6965c08d03711b13 \ No newline at end of file +38461a7acb5281edd7078b1b3f227bb45f281757 \ No newline at end of file diff --git a/www/lang.tcl b/www/lang.tcl index f18c7241af..6154d75947 100644 --- a/www/lang.tcl +++ b/www/lang.tcl @@ -1,7 +1,7 @@ # # Run this Tcl script to generate the sqlite.html file. # -set rcsid {$Id: lang.tcl,v 1.62 2003/06/15 10:29:25 jplyon Exp $} +set rcsid {$Id: lang.tcl,v 1.63 2003/06/15 23:49:39 drh Exp $} puts { @@ -1363,7 +1363,8 @@ is returned it is as an integer.

  • PRAGMA integrity_check;

    The command does an integrity check of the entire database. It - looks for out-of-order records, missing pages, and malformed records. + looks for out-of-order records, missing pages, malformed records, and + corrupt indices. If any problems are found, then a single string is returned which is a description of all problems. If everything is in order, "ok" is returned.

  • @@ -1607,12 +1608,14 @@ In version 1.0 of SQLite, the VACUUM command would invoke gdbm_reorganize() to clean up the backend database file.

    -VACUUM became a no-op for version 2.0.0 of SQLite. -The command was reactivated with version 2.8.1. It now cleans -the database by copying its contents to a temporary database file, and -reloading the database file from it. This will eliminate free pages, -align table data to be contiguous, and otherwise clean up the database -file structure. The index or table name argument is now ignored.

    +VACUUM became a no-op when the GDBM backend was removed from +SQLITE in version 2.0.0. +VACUUM was reimplimented in version 2.8.1. It now cleans +the database by copying its contents to a temporary database file and +reloading the original database file from the copy. This will eliminate +free pages, align table data to be contiguous, and otherwise clean up +the database file structure. The index or table name argument is now +ignored.

    This command will fail if there is an active transaction. This command has no effect on an in-memory database.