summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/test/format/wts.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/third_party/wiredtiger/test/format/wts.c')
-rw-r--r--src/third_party/wiredtiger/test/format/wts.c34
1 files changed, 1 insertions, 33 deletions
diff --git a/src/third_party/wiredtiger/test/format/wts.c b/src/third_party/wiredtiger/test/format/wts.c
index 031e3bb25af..37b59e81c65 100644
--- a/src/third_party/wiredtiger/test/format/wts.c
+++ b/src/third_party/wiredtiger/test/format/wts.c
@@ -72,34 +72,6 @@ compressor(uint32_t compress_flag)
}
/*
- * compatibility --
- * Configure compatibility.
- */
-static const char *
-compatibility(uint32_t compat_flag)
-{
- const char *p;
-
- p = "unrecognized compatibility flag";
- switch (compat_flag) {
- case COMPAT_NONE:
- p = "";
- break;
- case COMPAT_V1:
- p = "2.6";
- break;
- case COMPAT_V2:
- p = "3.0";
- break;
- default:
- testutil_die(EINVAL,
- "illegal compatibility flag: %#" PRIx32, compat_flag);
- /* NOTREACHED */
- }
- return (p);
-}
-
-/*
* encryptor --
* Configure encryption.
*/
@@ -219,17 +191,13 @@ wts_open(const char *home, bool set_api, WT_CONNECTION **connp)
",eviction=(threads_max=%" PRIu32 ")", g.c_evict_max);
/* Logging configuration. */
- if (g.c_logging) {
+ if (g.c_logging)
CONFIG_APPEND(p,
",log=(enabled=true,archive=%d,prealloc=%d"
",compressor=\"%s\")",
g.c_logging_archive ? 1 : 0,
g.c_logging_prealloc ? 1 : 0,
compressor(g.c_logging_compression_flag));
- CONFIG_APPEND(p,
- ",compatibility=(release=%s)",
- compatibility(g.c_compat_flag));
- }
if (g.c_encryption)
CONFIG_APPEND(p,