Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(218)

Unified Diff: third_party/sqlite/src/test/speed3.test

Issue 2751253002: [sql] Import SQLite 3.17.0. (Closed)
Patch Set: also clang on Linux i386 Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/sqlite/src/test/sort5.test ('k') | third_party/sqlite/src/test/speedtest1.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/speed3.test
diff --git a/third_party/sqlite/src/test/speed3.test b/third_party/sqlite/src/test/speed3.test
index 1beaeb74f337f422d77f1dc41f71098e86d18ca3..4aa90943bad1989a5fb5b762079df3e6e7026fbd 100644
--- a/third_party/sqlite/src/test/speed3.test
+++ b/third_party/sqlite/src/test/speed3.test
@@ -105,7 +105,7 @@ proc io_log {db} {
puts "Normal : Read $stats2(read), wrote $stats2(write)"
}
-proc reset_db {} {
+proc speed3_reset_db {} {
db close
sqlite3 db test.db
db eval {
@@ -117,7 +117,7 @@ proc reset_db {} {
}
forcedelete test2.db test2.db-journal
-reset_db
+speed3_reset_db
# Set up a database in auto-vacuum mode and create a database schema.
#
@@ -154,7 +154,7 @@ do_test speed3-0.4 {
# Delete all content in a table, one row at a time.
#
#io_log db
-reset_db
+speed3_reset_db
speed_trial speed3-1.incrvacuum $::NROW row {DELETE FROM main.t1 WHERE 1}
speed_trial speed3-1.normal $::NROW row {DELETE FROM aux.t1 WHERE 1}
io_log db
@@ -164,7 +164,7 @@ io_log db
#
#db eval {PRAGMA incremental_vacuum(500000)}
populate_t1 db
-reset_db
+speed3_reset_db
speed_trial speed3-2.incrvacuum $::NROW row {SELECT c FROM main.t1}
speed_trial speed3-2.normal $::NROW row {SELECT c FROM aux.t1}
io_log db
« no previous file with comments | « third_party/sqlite/src/test/sort5.test ('k') | third_party/sqlite/src/test/speedtest1.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698