Index: third_party/sqlite/src/test/corruptJ.test |
diff --git a/third_party/sqlite/src/test/corruptJ.test b/third_party/sqlite/src/test/corruptJ.test |
index c08e628e2d76927087437d441a17feabfd70fdd1..732adb085cd8d4df5eb5888e68981bb61b0e8c1b 100644 |
--- a/third_party/sqlite/src/test/corruptJ.test |
+++ b/third_party/sqlite/src/test/corruptJ.test |
@@ -22,10 +22,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. |