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

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

Issue 901033002: Import SQLite 3.8.7.4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Chromium changes to support SQLite 3.8.7.4. Created 5 years, 10 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
Index: third_party/sqlite/src/test/pcache2.test
diff --git a/third_party/sqlite/src/test/pcache2.test b/third_party/sqlite/src/test/pcache2.test
index 14df52ebd3cba2fa7c76fbb068599fd9a75079c9..77e7a2613273030c10ba4a76e0825804444d3f8b 100644
--- a/third_party/sqlite/src/test/pcache2.test
+++ b/third_party/sqlite/src/test/pcache2.test
@@ -16,7 +16,6 @@
set testdir [file dirname $argv0]
source $testdir/tester.tcl
-
# Set up a pcache memory pool so that we can easily track how many
# pages are being used for cache.
#
@@ -34,13 +33,13 @@ do_test pcache2-1.1 {
# Open up two database connections to separate files.
#
do_test pcache2-1.2 {
- file delete -force test.db test.db-journal
+ forcedelete test.db test.db-journal
sqlite3 db test.db
db eval {PRAGMA cache_size=10}
lindex [sqlite3_status SQLITE_STATUS_PAGECACHE_USED 0] 1
} {2}
do_test pcache2-1.3 {
- file delete -force test2.db test2.db-journal
+ forcedelete test2.db test2.db-journal
sqlite3 db2 test2.db
db2 eval {PRAGMA cache_size=50}
lindex [sqlite3_status SQLITE_STATUS_PAGECACHE_USED 0] 1

Powered by Google App Engine
This is Rietveld 408576698