aboutsummaryrefslogtreecommitdiff
path: root/test/pageropt.test
diff options
context:
space:
mode:
Diffstat (limited to 'test/pageropt.test')
-rw-r--r--test/pageropt.test5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/pageropt.test b/test/pageropt.test
index 7191661ba..f58b8ee78 100644
--- a/test/pageropt.test
+++ b/test/pageropt.test
@@ -16,12 +16,17 @@
set testdir [file dirname $argv0]
source $testdir/tester.tcl
+do_not_use_codec
ifcapable {!pager_pragmas||secure_delete||direct_read} {
finish_test
return
}
+# A non-zero reserved_bytes value changes the number of pages in the
+# database file, which messes up the results in this test.
+if {[nonzero_reserved_bytes]} {finish_test; return;}
+
# Run the SQL statement supplied by the argument and return
# the results. Prepend four integers to the beginning of the
# result which are