]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Fix comments in the fast_vacuum.c demonstration program.
authordrh <drh@noemail.net>
Tue, 1 Oct 2013 19:36:15 +0000 (19:36 +0000)
committerdrh <drh@noemail.net>
Tue, 1 Oct 2013 19:36:15 +0000 (19:36 +0000)
FossilOrigin-Name: e0db7b38e1bc0edb1c3995cb23c46488aa6a0909

manifest
manifest.uuid
tool/fast_vacuum.c

index ed0a2728f01f1ab03abcb68b65692742834480a3..56e25c88c95bfb8aac735029bdfa3902769b4ae8 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Add\sthe\s"fast_vacuum.c"\sdemonstration\sprogram\sto\sthe\stool/\ssubdirectgory.
-D 2013-10-01T19:02:56.492
+C Fix\scomments\sin\sthe\sfast_vacuum.c\sdemonstration\sprogram.
+D 2013-10-01T19:36:15.392
 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
 F Makefile.in 5e41da95d92656a5004b03d3576e8b226858a28e
 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@@ -1075,7 +1075,7 @@ F tool/build-shell.sh 950f47c6174f1eea171319438b93ba67ff5bf367
 F tool/checkSpacing.c 810e51703529a204fc4e1eb060e9ab663e3c06d2
 F tool/diffdb.c 7524b1b5df217c20cd0431f6789851a4e0cb191b
 F tool/extract.c 054069d81b095fbdc189a6f5d4466e40380505e2
-F tool/fast_vacuum.c 9051e839fd48666e2445dab3272b949a739ae6dd
+F tool/fast_vacuum.c 5ba0d6f5963a0a63bdc42840f678bad75b2ebce1
 F tool/fragck.tcl 5265a95126abcf6ab357f7efa544787e5963f439
 F tool/genfkey.README cf68fddd4643bbe3ff8e31b8b6d8b0a1b85e20f4
 F tool/genfkey.test 4196a8928b78f51d54ef58e99e99401ab2f0a7e5
@@ -1118,7 +1118,7 @@ F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
 F tool/warnings.sh fbc018d67fd7395f440c28f33ef0f94420226381
 F tool/wherecosttest.c f407dc4c79786982a475261866a161cd007947ae
 F tool/win/sqlite.vsix 030f3eeaf2cb811a3692ab9c14d021a75ce41fff
-P 473234632ff7617680ab151076153f5c1088e55b
-R 9adaa284cfb79b24d0278e44a5cb5af8
+P 2b60320d57a4638ebf97a2854527649c671d108e
+R 4a43823b2504f04ed4e291198b91050a
 U drh
-Z 58c24793b78d731684b9ef9e115423c6
+Z 3db92aeadc570f4d1597ec242e901a49
index cfc22a0f70a1a0cd3d4900315a5ed1fb233f966b..f05230ea2d6dd273ab74dd0c9dc860b9dcca6d40 100644 (file)
@@ -1 +1 @@
-2b60320d57a4638ebf97a2854527649c671d108e
\ No newline at end of file
+e0db7b38e1bc0edb1c3995cb23c46488aa6a0909
\ No newline at end of file
index 3cdda62db198bb627fb922d1e13dd5b101822a0f..6a50dcc68053673e72e9232daea6f47feabe4887 100644 (file)
@@ -63,7 +63,9 @@ static void vacuumFinalize(sqlite3_stmt *pStmt){
 }
 
 /*
-** Execute zSql on database db. The SQL text i
+** Execute zSql on database db. The SQL text is printed to standard
+** output.  If an error occurs, print an error message and exit the
+** process.
 */
 static void execSql(sqlite3 *db, const char *zSql){
   sqlite3_stmt *pStmt;
@@ -81,8 +83,12 @@ static void execSql(sqlite3 *db, const char *zSql){
 }
 
 /*
-** Execute zSql on database db. The statement returns exactly
-** one column. Execute this as SQL on the same database.
+** Execute zSql on database db. The zSql statement returns exactly
+** one column. Execute this return value as SQL on the same database.
+**
+** The zSql statement is printed on standard output prior to being
+** run.  If any errors occur, an error is printed and the process
+** exits.
 */
 static void execExecSql(sqlite3 *db, const char *zSql){
   sqlite3_stmt *pStmt;