summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mongo/shell/bench.h70
1 files changed, 35 insertions, 35 deletions
diff --git a/src/mongo/shell/bench.h b/src/mongo/shell/bench.h
index bda8ba9f896..f3f1f5f9af5 100644
--- a/src/mongo/shell/bench.h
+++ b/src/mongo/shell/bench.h
@@ -60,41 +60,41 @@ enum class OpType {
/**
* Object representing one operation passed to benchRun
*/
- struct BenchRunOp {
- public:
- int batchSize = 0;
- BSONElement check;
- BSONObj command;
- BSONObj context;
- int delay = 0;
- BSONObj doc;
- bool isDocAnArray = false;
- int expected = -1;
- bool handleError = false;
- BSONObj key;
- int limit = 0;
- bool multi = false;
- std::string ns;
- OpType op = OpType::NONE;
- int options = 0;
- BSONObj projection;
- BSONObj query;
- bool safe = false;
- int skip = 0;
- bool showError = false;
- bool showResult = false;
- std::string target;
- bool throwGLE = false;
- BSONObj update;
- bool upsert = false;
- bool useCheck = false;
- bool useReadCmd = false;
- bool useWriteCmd = false;
- BSONObj writeConcern;
- BSONObj value;
-
- // This is an owned copy of the raw operation. All unowned members point into this.
- BSONObj myBsonOp;
+struct BenchRunOp {
+public:
+ int batchSize = 0;
+ BSONElement check;
+ BSONObj command;
+ BSONObj context;
+ int delay = 0;
+ BSONObj doc;
+ bool isDocAnArray = false;
+ int expected = -1;
+ bool handleError = false;
+ BSONObj key;
+ int limit = 0;
+ bool multi = false;
+ std::string ns;
+ OpType op = OpType::NONE;
+ int options = 0;
+ BSONObj projection;
+ BSONObj query;
+ bool safe = false;
+ int skip = 0;
+ bool showError = false;
+ bool showResult = false;
+ std::string target;
+ bool throwGLE = false;
+ BSONObj update;
+ bool upsert = false;
+ bool useCheck = false;
+ bool useReadCmd = false;
+ bool useWriteCmd = false;
+ BSONObj writeConcern;
+ BSONObj value;
+
+ // This is an owned copy of the raw operation. All unowned members point into this.
+ BSONObj myBsonOp;
};
/**