Print the SQLite source_id() string when running speed tests.

FossilOrigin-Name: 6d7640edcd69a932556f86500aedbf14e75ba7de
This commit is contained in:
drh 2010-07-03 12:00:53 +00:00
parent f43d7fce61
commit bb810a9a7b
3 changed files with 22 additions and 8 deletions

View File

@ -1,5 +1,8 @@
C Fix\san\sassert()\sin\spager.c\sadded\sby\sthe\sprevious\scommit.\sAnd\svarious\sproblems\swith\stest\sscripts\sin\sautovacuum\sand\sin-memory\sjournal\smode.
D 2010-07-03T10:00:01
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
C Print\sthe\sSQLite\ssource_id()\sstring\swhen\srunning\sspeed\stests.
D 2010-07-03T12:00:54
F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
F Makefile.in a5cad1f8f3e021356bfcc6c77dc16f6f1952bbc3
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
@ -615,7 +618,7 @@ F test/tclsqlite.test 8c154101e704170c2be10f137a5499ac2c6da8d3
F test/tempdb.test 800c36623d67a2ad1f58784b9c5644e0405af6e6
F test/temptable.test f42121a0d29a62f00f93274464164177ab1cc24a
F test/temptrigger.test b0273db072ce5f37cf19140ceb1f0d524bbe9f05
F test/tester.tcl a4e8953bbe39ce8e366b211ee679c01564b5522c
F test/tester.tcl b533b875487f9ebb5fa9d60dfea9220c2fdfa9d0
F test/thread001.test a3e6a7254d1cb057836cb3145b60c10bf5b7e60f
F test/thread002.test afd20095e6e845b405df4f2c920cb93301ca69db
F test/thread003.test b824d4f52b870ae39fc5bae4d8070eca73085dca
@ -830,7 +833,14 @@ F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
P 0fd809243652256d83ddcb58cf4890080654c667
R ae40485a65c540ad12636335240b81ff
U dan
Z 0889c61d98828296de0585eeb971649f
P 62a10101776b41236ff7bd08c8aa85765a43df7c
R 481c0db8ce6010db12d9fcb97b353bfe
U drh
Z 8fa4490ef13fe1a2c7643c3c7e1ea421
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFMLyZ5oxKgR168RlERAk44AJwLnoZ8DBUmSTdqpRKV3JoCs1VlYgCfbIt4
WpIhrDcSZ9lsy3gW6GAZnQk=
=aScB
-----END PGP SIGNATURE-----

View File

@ -1 +1 @@
62a10101776b41236ff7bd08c8aa85765a43df7c
6d7640edcd69a932556f86500aedbf14e75ba7de

View File

@ -371,6 +371,10 @@ proc speed_trial_tcl {name numstmt units script} {
proc speed_trial_init {name} {
global total_time
set total_time 0
sqlite3 versdb :memory:
set vers [versdb one {SELECT sqlite_source_id()}]
versdb close
puts "SQLite $vers"
}
proc speed_trial_summary {name} {
global total_time