summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2014-08-02 10:44:14 -0400
committerKeith Bostic <keith@wiredtiger.com>2014-08-02 10:44:14 -0400
commit640f6dc5ee737d3a188c29ac134a3fe3535a6fbb (patch)
tree2e31257b43a9a5db4ea942792e576026cdb875be /bench
parent2343b468c69bab9e5886fab44e529cc738885952 (diff)
downloadmongo-640f6dc5ee737d3a188c29ac134a3fe3535a6fbb.tar.gz
Minor cleanups to the OPT_DEFINE_DESC macros, don't stringify objects
that are already strings. Fix a couple of places where words were getting mashed together in a string.
Diffstat (limited to 'bench')
-rw-r--r--bench/wtperf/wtperf_opt.i12
1 files changed, 6 insertions, 6 deletions
diff --git a/bench/wtperf/wtperf_opt.i b/bench/wtperf/wtperf_opt.i
index 8d6b3577e01..e202e209e8b 100644
--- a/bench/wtperf/wtperf_opt.i
+++ b/bench/wtperf/wtperf_opt.i
@@ -40,12 +40,12 @@
#define DEF_OPT_AS_BOOL(name, initval, desc) \
{ #name, desc, #initval, BOOL_TYPE, offsetof(CONFIG, name) },
#define DEF_OPT_AS_CONFIG_STRING(name, initval, desc) \
- { #name, desc, #initval, CONFIG_STRING_TYPE, \
+ { #name, desc, initval, CONFIG_STRING_TYPE, \
offsetof(CONFIG, name) },
#define DEF_OPT_AS_INT(name, initval, desc) \
{ #name, desc, #initval, INT_TYPE, offsetof(CONFIG, name) },
#define DEF_OPT_AS_STRING(name, initval, desc) \
- { #name, desc, #initval, STRING_TYPE, offsetof(CONFIG, name) },
+ { #name, desc, initval, STRING_TYPE, offsetof(CONFIG, name) },
#define DEF_OPT_AS_UINT32(name, initval, desc) \
{ #name, desc, #initval, UINT32_TYPE, offsetof(CONFIG, name) },
#endif
@@ -89,7 +89,7 @@ DEF_OPT_AS_CONFIG_STRING(conn_config, "create",
DEF_OPT_AS_BOOL(compact, 0, "post-populate compact for LSM merging activity")
DEF_OPT_AS_STRING(compression, "none",
"compression extension. Allowed configuration values are: "
- "'none' (default), 'bzip', 'snappy', 'zlib'")
+ "'none', 'bzip', 'snappy', 'zlib'")
DEF_OPT_AS_BOOL(create, 1,
"do population phase; false to use existing database")
DEF_OPT_AS_UINT32(database_count, 1,
@@ -103,7 +103,7 @@ DEF_OPT_AS_BOOL(insert_rmw, 0,
"execute a read prior to each insert in workload phase")
DEF_OPT_AS_UINT32(key_sz, 20, "key size")
DEF_OPT_AS_UINT32(min_throughput, 0,
- "abort if any throughput measured is less than this amount. Requires"
+ "abort if any throughput measured is less than this amount. Requires "
"sample_interval to be configured")
DEF_OPT_AS_UINT32(max_latency, 0,
"abort if any latency measured exceeds this number of milliseconds."
@@ -145,8 +145,8 @@ DEF_OPT_AS_STRING(threads, "", "workload configuration: each 'count' "
"specified; for example, a more complex threads configuration might be "
"'threads=((count=2,reads=1)(count=8,reads=1,inserts=2,updates=1))' "
"which would create 2 threads doing nothing but reads and 8 threads "
- "each doing 50% inserts and 25% reads and updates. Allowed"
- "configuration values are 'count', 'reads', 'inserts', 'updates'")
+ "each doing 50% inserts and 25% reads and updates. Allowed configuration "
+ "values are 'count', 'reads', 'inserts', 'updates'")
DEF_OPT_AS_CONFIG_STRING(transaction_config, "",
"transaction configuration string, relevant when populate_opts_per_txn "
"is nonzero")