summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2013-10-21 11:09:17 -0400
committerKeith Bostic <keith@wiredtiger.com>2013-10-21 11:09:17 -0400
commit8faa9048cfe246e086fc9c7f62262fc8f0a65f1c (patch)
treef08faff07922fa8c80fb93be655109e0dd6d4629
parentf0559daeecbda617b53763bc8796006274779ea5 (diff)
downloadmongo-8faa9048cfe246e086fc9c7f62262fc8f0a65f1c.tar.gz
Check wtperf for long lines.
-rw-r--r--bench/wtperf/wtperf.c3
-rw-r--r--dist/s_longlines2
2 files changed, 3 insertions, 2 deletions
diff --git a/bench/wtperf/wtperf.c b/bench/wtperf/wtperf.c
index 2243a8e3778..7fb0f30ab6f 100644
--- a/bench/wtperf/wtperf.c
+++ b/bench/wtperf/wtperf.c
@@ -758,7 +758,8 @@ execute_workload(CONFIG *cfg)
cfg, cfg->update_threads, &uthreads, update_thread)) != 0)
return (ret);
- nthreads = cfg->read_threads + cfg->insert_threads + cfg->update_threads;
+ nthreads =
+ cfg->read_threads + cfg->insert_threads + cfg->update_threads;
/* Sanity check reporting interval. */
if (cfg->report_interval > cfg->run_time || cfg->report_interval == 0)
diff --git a/dist/s_longlines b/dist/s_longlines
index ffe6b741bef..d0b32ce341f 100644
--- a/dist/s_longlines
+++ b/dist/s_longlines
@@ -5,7 +5,7 @@ t=__wt.$$
trap 'rm -f $t; exit 0' 0 1 2 3 13 15
l=`(cd .. &&
- find examples ext src test -name '*.[chisy]' &&
+ find bench/wtperf examples ext src test -name '*.[chisy]' &&
find src -name '*.in') |
grep -v 'support/stat\.c'`