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

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

Issue 6990047: Import SQLite 3.7.6.3. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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/releasetest.tcl ('k') | third_party/sqlite/src/test/rowhash.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/rollback.test
diff --git a/third_party/sqlite/src/test/rollback.test b/third_party/sqlite/src/test/rollback.test
index 93d12468dca6d769098ac9f41b095a8cb2219acc..d462fc48acb449186eca9c414cae49eee67b0c61 100644
--- a/third_party/sqlite/src/test/rollback.test
+++ b/third_party/sqlite/src/test/rollback.test
@@ -79,11 +79,9 @@ do_test rollback-1.9 {
sqlite3_finalize $STMT
} {SQLITE_OK}
-set permutation ""
-catch {set permutation $::permutations_test_prefix}
if {$tcl_platform(platform) == "unix"
- && $permutation ne "onefile"
- && $permutation ne "inmemory_journal"
+ && [permutation] ne "onefile"
+ && [permutation] ne "inmemory_journal"
} {
do_test rollback-2.1 {
execsql {
@@ -135,7 +133,7 @@ if {$tcl_platform(platform) == "unix"
SELECT distinct tbl_name FROM sqlite_master;
} db2
} {t1 t3}
- if {[lsearch {exclusive persistent_journal no_journal} $permutation]<0} {
+ if {[lsearch {exclusive persistent_journal no_journal} [permutation]]<0} {
do_test rollback-2.3 {
file exists testA.db-journal
} 0
« no previous file with comments | « third_party/sqlite/src/test/releasetest.tcl ('k') | third_party/sqlite/src/test/rowhash.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698