Index: third_party/sqlite/src/test/corrupt3.test |
diff --git a/third_party/sqlite/src/test/corrupt3.test b/third_party/sqlite/src/test/corrupt3.test |
index 436a466189a2bb281f08fdf603a39ec764f91c85..85139420b8544a567fecd94c7a91a3b89e4ee602 100644 |
--- a/third_party/sqlite/src/test/corrupt3.test |
+++ b/third_party/sqlite/src/test/corrupt3.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 |
# |