diff options
author | David Hows <howsdav@gmail.com> | 2015-12-16 11:31:05 +1100 |
---|---|---|
committer | David Hows <howsdav@gmail.com> | 2015-12-16 11:31:32 +1100 |
commit | 3ca630a3ddd240fa7c25bcc61c057e1750e51fa8 (patch) | |
tree | eafa4642caf55980c3a370c982bc05e82dd6725e /bench/wtperf/config.c | |
parent | 55d7706948ac8b809b66584bc33f40b8f51162fd (diff) | |
download | mongo-3ca630a3ddd240fa7c25bcc61c057e1750e51fa8.tar.gz |
WT-2269 - Add a warning at top of generated config.
Diffstat (limited to 'bench/wtperf/config.c')
-rw-r--r-- | bench/wtperf/config.c | 2 |
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); |