summaryrefslogtreecommitdiff
path: root/bench/wtperf/wtperf.h
diff options
context:
space:
mode:
authorSusan LoVerso <sue@mongodb.com>2016-02-17 13:51:14 -0500
committerSusan LoVerso <sue@mongodb.com>2016-02-17 13:51:14 -0500
commitaf2bf588eaaa918c5c4051baff9e5daf20819f08 (patch)
tree2038787d7de72fd5f93c960392c82c325fff0be1 /bench/wtperf/wtperf.h
parentb89f959f289446915935be72f8f3887658470b5d (diff)
downloadmongo-af2bf588eaaa918c5c4051baff9e5daf20819f08.tar.gz
WT-2349 Add a 'readonly' option to wtperf.
Diffstat (limited to 'bench/wtperf/wtperf.h')
-rw-r--r--bench/wtperf/wtperf.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bench/wtperf/wtperf.h b/bench/wtperf/wtperf.h
index 929880b0aef..0b0fb88a99c 100644
--- a/bench/wtperf/wtperf.h
+++ b/bench/wtperf/wtperf.h
@@ -138,6 +138,7 @@ typedef struct {
} THROTTLE_CONFIG;
#define LOG_PARTIAL_CONFIG ",log=(enabled=false)"
+#define READONLY_CONFIG ",readonly=true"
/*
* NOTE: If you add any fields to this structure here, you must also add
* an initialization in wtperf.c in the default_cfg.
@@ -146,6 +147,7 @@ struct __config { /* Configuration structure */
const char *home; /* WiredTiger home */
const char *monitor_dir; /* Monitor output dir */
const char *partial_config; /* Config string for partial logging */
+ const char *reopen_config; /* Config string for conn reopen */
char *base_uri; /* Object URI */
char **uris; /* URIs if multiple tables */
const char *helium_mount; /* Optional Helium mount point */