1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-01 06:27:03 +03:00

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

@ -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