summaryrefslogtreecommitdiff
path: root/src/mongo/client/examples/mongoperf.cpp
diff options
context:
space:
mode:
authorSlawomir Pawlowski <spawlos@gmail.com>2014-12-18 13:11:40 +0100
committerMatt Kangas <matt.kangas@mongodb.com>2014-12-19 11:29:02 -0500
commite7b514171c2bfbd6029e9cfc5daf3ac2a699e293 (patch)
treeb5a91234fe5d87c041a37891bd6749d11632e09a /src/mongo/client/examples/mongoperf.cpp
parent00578e45d13fe73ff51c4ff482d53ce465552752 (diff)
downloadmongo-e7b514171c2bfbd6029e9cfc5daf3ac2a699e293.tar.gz
SERVER-16586 Fix mongoperf crash with MMF and syncDelay
Closes #886 Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
Diffstat (limited to 'src/mongo/client/examples/mongoperf.cpp')
-rw-r--r--src/mongo/client/examples/mongoperf.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/client/examples/mongoperf.cpp b/src/mongo/client/examples/mongoperf.cpp
index d6d5bd00002..f95c01802be 100644
--- a/src/mongo/client/examples/mongoperf.cpp
+++ b/src/mongo/client/examples/mongoperf.cpp
@@ -53,6 +53,7 @@
#include "mongo/util/mongoutils/str.h"
#include "mongo/util/time_support.h"
#include "mongo/util/timer.h"
+#include "mongo/util/processinfo.h"
using namespace std;
@@ -293,6 +294,7 @@ cout <<
return EXIT_FAILURE;
}
cout << "parsed options:\n" << options.toString() << endl;
+ ProcessInfo::initializeSystemInfo();
go();
}