| 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 {
|
|
|