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

Unified Diff: third_party/sqlite/src/test/ioerr.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/io.test ('k') | third_party/sqlite/src/test/ioerr5.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/ioerr.test
diff --git a/third_party/sqlite/src/test/ioerr.test b/third_party/sqlite/src/test/ioerr.test
index 21052e412058b4dcbfeff3b24cbeddfed2834aac..f9b95555cadc5640c1198ecc37af6bb70fe0ec67 100644
--- a/third_party/sqlite/src/test/ioerr.test
+++ b/third_party/sqlite/src/test/ioerr.test
@@ -135,8 +135,13 @@ ifcapable attach {
# Test IO errors when replaying two hot journals from a 2-file
# transaction. This test only runs on UNIX.
+#
+# It cannot be run under the "exclusive" permutation. In that case, the
+# locks held by the connection in the local (this) process prevent a
+# second connection from attempting the multi-file transaction.
+#
ifcapable crashtest&&attach {
- if {![catch {sqlite3 -has_codec} r] && !$r} {
+ if {![catch {sqlite3 -has-codec} r] && !$r && [permutation]!="exclusive"} {
do_ioerr_test ioerr-6 -ckrefcount true -tclprep {
execsql {
ATTACH 'test2.db' as aux;
« no previous file with comments | « third_party/sqlite/src/test/io.test ('k') | third_party/sqlite/src/test/ioerr5.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698