summaryrefslogtreecommitdiff
path: root/src/mongo/db/driverHelpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/driverHelpers.cpp')
-rw-r--r--src/mongo/db/driverHelpers.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/driverHelpers.cpp b/src/mongo/db/driverHelpers.cpp
index 0480050edce..8b6163e678b 100644
--- a/src/mongo/db/driverHelpers.cpp
+++ b/src/mongo/db/driverHelpers.cpp
@@ -56,6 +56,9 @@ class BasicDriverHelper : public Command {
public:
BasicDriverHelper(const char* name) : Command(name) {}
+ virtual bool supportsWriteConcern(const BSONObj& cmd) const override {
+ return false;
+ }
virtual bool slaveOk() const {
return true;
}