-C Remove\sunnecessary\sdependencies\sfrom\sthe\ssqlite3_analyzer\stargets\sin\nmakefiles.
-D 2011-09-21T18:29:49.463
+C Minor\stweaks\sto\sthe\sTCL\scode\sfor\ssqlite3_analyzer.
+D 2011-09-21T20:10:42.584
F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
F Makefile.in b6c543a666dbd1eaad06c3705778e75231c0e297
F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
F tool/showwal.c f09e5a80a293919290ec85a6a37c85a5ddcf37d9
F tool/soak1.tcl 8d407956e1a45b485a8e072470a3e629a27037fe
F tool/space_used.tcl f714c41a59e326b8b9042f415b628b561bafa06b
-F tool/spaceanal.tcl fe02dede3d29ef0fefcf80a685644fdf4d9a768e
+F tool/spaceanal.tcl 537f35d9e432695990ec855314d72eba9b999fe4
F tool/speedtest.tcl 06c76698485ccf597b9e7dbb1ac70706eb873355
F tool/speedtest16.c c8a9c793df96db7e4933f0852abb7a03d48f2e81
F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
F tool/tostr.awk e75472c2f98dd76e06b8c9c1367f4ab07e122d06
F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
F tool/warnings.sh b7fdb2cc525f5ef4fa43c80e771636dd3690f9d2
-P 256cdbdc810cae23388ccf73583c591304294dbb
-R 9e70a6e80548512d02d33e2ddd01332b
+P 0bd8fd352d290637d8c4d4fb76e8dd28f0149fa0
+R fe88c011dfd8ce1303bfab126d559106
U drh
-Z 8142f1a978344d0179d691a7e8574898
+Z f9ab27a8b8af4fdd9533127fd7d4648e
register_dbstat_vtab db
set pageSize [db one {PRAGMA page_size}]
-
-#set DB [btree_open $file_to_analyze 1000 0]
+db eval {SELECT count(*) FROM sqlite_master}
# In-memory database for collecting statistics. This script loops through
# the tables and indices in the database being analyzed, adding a row for each
# Create a temporary "dbstat" virtual table.
#
-db eval {
- CREATE VIRTUAL TABLE temp.stat USING dbstat;
- CREATE TEMP TABLE dbstat AS SELECT * FROM temp.stat ORDER BY name, path;
- DROP TABLE temp.stat;
-}
+db eval {CREATE VIRTUAL TABLE temp.stat USING dbstat}
+db eval {CREATE TEMP TABLE dbstat AS SELECT * FROM temp.stat
+ ORDER BY name, path}
+db eval {DROP TABLE temp.stat}
proc isleaf {pagetype is_index} {
return [expr {$pagetype == "leaf" || ($pagetype == "internal" && $is_index)}]