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

Unified Diff: third_party/sqlite/src/test/tempdb.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/tclsqlite.test ('k') | third_party/sqlite/src/test/tester.tcl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/tempdb.test
diff --git a/third_party/sqlite/src/test/tempdb.test b/third_party/sqlite/src/test/tempdb.test
index a8915cda18ff889638f1c8a5de32706ce4f6bf96..ecd23d4e32866f437f953f1e3370013e4a8ed072 100644
--- a/third_party/sqlite/src/test/tempdb.test
+++ b/third_party/sqlite/src/test/tempdb.test
@@ -58,11 +58,8 @@ do_test tempdb-2.1 {
# to be in memory. These variables are used to calculate the expected
# number of open files in the test cases below.
#
- set jrnl_in_memory [expr {
- [info exists ::permutations_test_prefix] &&
- $::permutations_test_prefix eq "inmemory_journal"
- }]
- set subj_in_memory [expr {$jrnl_in_memory || $TEMP_STORE == 3}]
+ set jrnl_in_memory [expr {[permutation] eq "inmemory_journal"}]
+ set subj_in_memory [expr {$jrnl_in_memory || $TEMP_STORE>=2}]
db close
sqlite3 db test.db
@@ -74,6 +71,7 @@ do_test tempdb-2.2 {
BEGIN;
INSERT INTO t1 VALUES(1, 2, 3);
INSERT INTO t1 VALUES(4, 5, 6);
+ INSERT INTO t2 VALUES(7, 8, 9);
INSERT INTO t2 SELECT * FROM t1;
}
catchsql { INSERT INTO t1 SELECT * FROM t2 }
« no previous file with comments | « third_party/sqlite/src/test/tclsqlite.test ('k') | third_party/sqlite/src/test/tester.tcl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698