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

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

Issue 2751253002: [sql] Import SQLite 3.17.0. (Closed)
Patch Set: also clang on Linux i386 Created 3 years, 9 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/corruptH.test ('k') | third_party/sqlite/src/test/corruptJ.test » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/sqlite/src/test/corruptI.test
diff --git a/third_party/sqlite/src/test/corruptI.test b/third_party/sqlite/src/test/corruptI.test
index 64323d9608ea75c311b7a840507ae5872c9cd827..cdcb94201e1d926cfe3f7ffc457e3911c4f2dba7 100644
--- a/third_party/sqlite/src/test/corruptI.test
+++ b/third_party/sqlite/src/test/corruptI.test
@@ -19,10 +19,10 @@ if {[permutation]=="mmap"} {
return
}
-# Do not use a codec for tests in this file, as the database file is
-# manipulated directly using tcl scripts (using the [hexio_write] command).
-#
-do_not_use_codec
+# This module uses hard-coded offsets which do not work if the reserved_bytes
+# value is nonzero.
+if {[nonzero_reserved_bytes]} {finish_test; return;}
+
database_may_be_corrupt
# Initialize the database.
@@ -206,7 +206,6 @@ do_test 6.1 {
db close
hexio_write test.db 616 8FFFFFFF7F02
sqlite3 db test.db
- breakpoint
execsql { DELETE FROM t1 WHERE rowid=2 }
} {}
« no previous file with comments | « third_party/sqlite/src/test/corruptH.test ('k') | third_party/sqlite/src/test/corruptJ.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698