diff options
author | Bernard Gorman <bernard.gorman@gmail.com> | 2017-05-25 20:36:12 +0100 |
---|---|---|
committer | Bernard Gorman <bernard.gorman@gmail.com> | 2017-05-26 08:05:22 +0100 |
commit | 58486605c09672b3bfce8608dca403a145413bba (patch) | |
tree | 62f44cbd43515b591e6af6347c0a75eb5c6ab5fb /src/mongo/db/pipeline/document_source_mock.h | |
parent | 4b88bf79dc47cbdfd74a11605cc5ee1c61e379f8 (diff) | |
download | mongo-58486605c09672b3bfce8608dca403a145413bba.tar.gz |
SERVER-19318 Add $currentOp aggregation stage for mongoD
Diffstat (limited to 'src/mongo/db/pipeline/document_source_mock.h')
-rw-r--r-- | src/mongo/db/pipeline/document_source_mock.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/pipeline/document_source_mock.h b/src/mongo/db/pipeline/document_source_mock.h index bdde16b711f..9236e55ad62 100644 --- a/src/mongo/db/pipeline/document_source_mock.h +++ b/src/mongo/db/pipeline/document_source_mock.h @@ -48,8 +48,8 @@ public: const char* getSourceName() const override; Value serialize( boost::optional<ExplainOptions::Verbosity> explain = boost::none) const override; - bool isValidInitialSource() const override { - return true; + InitialSourceType getInitialSourceType() const override { + return InitialSourceType::kInitialSource; } BSONObjSet getOutputSorts() override { return sorts; |