diff options
author | Keith Bostic <keith@wiredtiger.com> | 2016-03-29 07:59:34 -0400 |
---|---|---|
committer | Keith Bostic <keith@wiredtiger.com> | 2016-03-29 07:59:34 -0400 |
commit | 49e31a32c84d071e919b0514206bc76bad3885b0 (patch) | |
tree | 3696b43146b8488befab9ce0af6bb2bb9fe1da3e /bench/wtperf/misc.c | |
parent | 3dfc368af0eca2bec8f7317f5cbc970390f5446f (diff) | |
download | mongo-49e31a32c84d071e919b0514206bc76bad3885b0.tar.gz |
WT-2517: wtperf uses setvbuf in a way that isn't supported on Windows
Increase the line-buffer size for the monitor and stdout streams from
32B to 1024B; I don't understand why a 32B buffer would ever be useful.
Diffstat (limited to 'bench/wtperf/misc.c')
-rw-r--r-- | bench/wtperf/misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bench/wtperf/misc.c b/bench/wtperf/misc.c index bdfd53d5295..98920f6ab64 100644 --- a/bench/wtperf/misc.c +++ b/bench/wtperf/misc.c @@ -54,7 +54,7 @@ setup_log_file(CONFIG *cfg) return (ret); /* Use line buffering for the log file. */ - (void)setvbuf(cfg->logf, NULL, _IOLBF, 32); + (void)setvbuf(cfg->logf, NULL, _IOLBF, 1024); return (0); } |