summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Hows <howsdav@gmail.com>2015-12-16 11:31:05 +1100
committerDavid Hows <howsdav@gmail.com>2015-12-16 11:31:32 +1100
commit3ca630a3ddd240fa7c25bcc61c057e1750e51fa8 (patch)
treeeafa4642caf55980c3a370c982bc05e82dd6725e
parent55d7706948ac8b809b66584bc33f40b8f51162fd (diff)
downloadmongo-3ca630a3ddd240fa7c25bcc61c057e1750e51fa8.tar.gz
WT-2269 - Add a warning at top of generated config.
-rw-r--r--bench/wtperf/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bench/wtperf/config.c b/bench/wtperf/config.c
index 9b1e3601ce5..973a5253c14 100644
--- a/bench/wtperf/config.c
+++ b/bench/wtperf/config.c
@@ -706,6 +706,8 @@ config_to_file(CONFIG *cfg)
}
/* Print the config dump */
+ fprintf(fp, "# Warning. This config can include defaults.\n");
+ fprintf(fp, "# This make cause differences in behaviour.\n");
while (!TAILQ_EMPTY(&cfg->config_head)) {
config_line = TAILQ_FIRST(&cfg->config_head);
TAILQ_REMOVE(&cfg->config_head, config_line, c);