]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Add a comment to the VACUUM implementation explaining when all schemas are schema-parse-refactor
authordrh <drh@noemail.net>
Mon, 4 Apr 2011 23:08:14 +0000 (23:08 +0000)
committerdrh <drh@noemail.net>
Mon, 4 Apr 2011 23:08:14 +0000 (23:08 +0000)
reset and not just the "main" schema.

FossilOrigin-Name: 2aff1b0ca87a99b8ec80e696b9e8a48bb43db2c2

manifest
manifest.uuid
src/vacuum.c

index c71c3e41f8a7237f9ea4747d03bbc4783da11c37..e06a7959a38391abb7c497ee4f845e5ed58f7eaf 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Additional\sschema\smutex\schecks\sfor\ssqlite3RootPageMoved().\nReduce\sthe\sscope\sof\ssqlite3ResetInternalSchema()\sin\sa\sfew\splaces.
-D 2011-04-04T21:25:28.533
+C Add\sa\scomment\sto\sthe\sVACUUM\simplementation\sexplaining\swhen\sall\sschemas\sare\nreset\sand\snot\sjust\sthe\s"main"\sschema.
+D 2011-04-04T23:08:14.941
 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
 F Makefile.in 7a4d9524721d40ef9ee26f93f9bd6a51dba106f2
 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@@ -234,7 +234,7 @@ F src/trigger.c bb68c3d1feff3e1335c55a7acf195b9c96ae91ec
 F src/update.c 81911be16ece3c3e7716aa18565b4814ec41f8b9
 F src/utf.c d83650c3ea08f7407bd9d0839d9885241c209c60
 F src/util.c cd997077bad039efc0597eb027c929658f93c018
-F src/vacuum.c 3b2b0998f4f277e4bc61469c2d78d8424d02899b
+F src/vacuum.c 05513dca036a1e7848fe18d5ed1265ac0b32365e
 F src/vdbe.c 0140a57f9cbd50351219bfc4e44ef3de64bd65b8
 F src/vdbe.h 4de0efb4b0fdaaa900cf419b35c458933ef1c6d2
 F src/vdbeInt.h 7e2f028ecc1a9faa6f253e7aa8d89cae03662bae
@@ -926,7 +926,7 @@ F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
 F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
 F tool/split-sqlite3c.tcl d9be87f1c340285a3e081eb19b4a247981ed290c
 F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
-P 82c2316240345167a571507d9392dfb6445ef523
-R 7c6dcb957e59966f9f4fd72f4c665ab1
+P 39c00907833413c0d97d3e06fdda967b825d23ea
+R 649858c83395859d3a968f120123364a
 U drh
-Z 5433fdc0cc3ff75407dd2b1ee53a6522
+Z 182c2bca240b7634d123c22091b55227
index 18b6d137fd395728bc306b4d67bf78c91ccf5758..ac9178d6750114a57562dce94a1fb6fe0398442d 100644 (file)
@@ -1 +1 @@
-39c00907833413c0d97d3e06fdda967b825d23ea
\ No newline at end of file
+2aff1b0ca87a99b8ec80e696b9e8a48bb43db2c2
\ No newline at end of file
index 5ca39ae1e03f83b5ec3c41eb54333c9b8744de9a..5a4ed32052c52ce6b0a24f70926440e77637c4b1 100644 (file)
@@ -335,6 +335,8 @@ end_of_vacuum:
     pDb->pSchema = 0;
   }
 
+  /* This both clears the schemas and reduces the size of the db->aDb[]
+  ** array. */ 
   sqlite3ResetInternalSchema(db, -1);
 
   return rc;