summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/dbcommands.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/dbcommands.cpp b/db/dbcommands.cpp
index c112a3b449a..0ff0400e4eb 100644
--- a/db/dbcommands.cpp
+++ b/db/dbcommands.cpp
@@ -1276,6 +1276,7 @@ namespace mongo {
GroupCommand() : Command("group"){}
virtual LockType locktype() const { return READ; }
virtual bool slaveOk() const { return true; }
+ virtual bool slaveOverrideOk() { return true; }
virtual void help( stringstream &help ) const {
help << "http://www.mongodb.org/display/DOCS/Aggregation";
}