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

Unified Diff: third_party/sqlite/src/test/shared7.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/shared7.test
diff --git a/third_party/sqlite/src/test/shared7.test b/third_party/sqlite/src/test/shared7.test
index d003f0aee3ed6d114e1f3446b7718d349abc5d59..9f4880f56e2a9a91b34fa2c5e2e46248c87f501d 100644
--- a/third_party/sqlite/src/test/shared7.test
+++ b/third_party/sqlite/src/test/shared7.test
@@ -23,6 +23,9 @@ do_test shared7-1.1 {
sqlite3_enable_shared_cache
} {1}
+# EVIDENCE-OF: R-05098-06501 In shared cache mode, attempting to attach
+# the same database file more than once results in an error.
+#
do_test shared7-1.2 {
db close
sqlite3 db test.db
@@ -35,7 +38,7 @@ do_test shared7-1.2 {
} {1 {database is already attached}}
do_test shared7-1.3 {
- file delete -force test2.db test2.db-journal
+ forcedelete test2.db test2.db-journal
db eval {
ATTACH 'test2.db' AS test2;
CREATE TABLE test2.t2(y);

Powered by Google App Engine
This is Rietveld 408576698