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

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

Issue 949043002: Add //third_party/sqlite to dirs_to_snapshot, remove net_sql.patch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
« no previous file with comments | « third_party/sqlite/src/test/tclsqlite.test ('k') | third_party/sqlite/src/test/temptrigger.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/temptable.test
diff --git a/third_party/sqlite/src/test/temptable.test b/third_party/sqlite/src/test/temptable.test
index ad85f7e9f6627176435ca9897723d7c4dfd5395a..6a1e2b9867901100d83b59f05cc40f9ab90e2238 100644
--- a/third_party/sqlite/src/test/temptable.test
+++ b/third_party/sqlite/src/test/temptable.test
@@ -150,7 +150,7 @@ do_test temptable-3.4 {
# Check for correct name collision processing. A name collision can
# occur when process A creates a temporary table T then process B
# creates a permanent table also named T. The temp table in process A
-# hides the existance of the permanent table.
+# hides the existence of the permanent table.
#
do_test temptable-4.1 {
execsql {
@@ -292,6 +292,7 @@ do_test temptable-5.1 {
execsql {
CREATE TEMP TABLE mask(a,b,c)
} db2
+ if {[permutation]=="prepare"} { db2 cache flush }
execsql {
CREATE INDEX mask ON t2(x);
SELECT * FROM t2;
@@ -403,7 +404,7 @@ do_test temptable-6.8 {
}
} {1 {no such table: t9}}
-file delete -force test2.db test2.db-journal
+forcedelete test2.db test2.db-journal
ifcapable attach {
do_test temptable-7.1 {
catchsql {
@@ -414,14 +415,14 @@ ifcapable attach {
}
# Need to do the following for tcl 8.5 on mac. On that configuration, the
-# -readonly flag is taken so seriously that a subsequent [file delete -force]
+# -readonly flag is taken so seriously that a subsequent [forcedelete]
# (required before the next test file can be executed) will fail.
#
catch {file attributes test.db -readonly 0}
do_test temptable-8.0 {
db close
- catch {file delete -force test.db}
+ catch {forcedelete test.db}
sqlite3 db test.db
} {}
do_test temptable-8.1 {
« no previous file with comments | « third_party/sqlite/src/test/tclsqlite.test ('k') | third_party/sqlite/src/test/temptrigger.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698