Index: third_party/sqlite/src/test/corrupt4.test |
diff --git a/third_party/sqlite/src/test/corrupt4.test b/third_party/sqlite/src/test/corrupt4.test |
index 24db60fd52ec8f52ff4260ee677ed447e53ef969..55969c6a8ce59040f026c5149b7c9dd2b6d36847 100644 |
--- a/third_party/sqlite/src/test/corrupt4.test |
+++ b/third_party/sqlite/src/test/corrupt4.test |
@@ -18,10 +18,9 @@ |
set testdir [file dirname $argv0] |
source $testdir/tester.tcl |
-# 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;} |
# These tests deal with corrupt database files |
# |