summaryrefslogtreecommitdiff
path: root/src/mongo/db/commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/commands.h')
-rw-r--r--src/mongo/db/commands.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/commands.h b/src/mongo/db/commands.h
index 5897fb79321..37550c64131 100644
--- a/src/mongo/db/commands.h
+++ b/src/mongo/db/commands.h
@@ -95,6 +95,10 @@ public:
// collection name or just a database name.
ResourcePattern parseResourcePattern(const std::string& dbname, const BSONObj& cmdObj) const;
+ virtual std::size_t reserveBytesForReply() const {
+ return 0u;
+ }
+
const std::string name;
/* run the given command