diff options
author | Minji <minjikim0202@gmail.com> | 2018-07-19 18:10:21 -0400 |
---|---|---|
committer | Minji <minjikim0202@gmail.com> | 2018-08-01 16:36:57 -0400 |
commit | 114b1e828ebba521c440a015a7d02318f96efe55 (patch) | |
tree | f0701259adea2b43be64095aff0bc4938a3a4590 /src/mongo/db/pipeline/document_source.h | |
parent | 00bf585d027eedcda47d6082920dad0dde93d3f4 (diff) | |
download | mongo-114b1e828ebba521c440a015a7d02318f96efe55.tar.gz |
SERVER-19260 Log whether allowDiskUse:true aggregations used disk
Diffstat (limited to 'src/mongo/db/pipeline/document_source.h')
-rw-r--r-- | src/mongo/db/pipeline/document_source.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/document_source.h b/src/mongo/db/pipeline/document_source.h index 580a2fabc93..4aae392153d 100644 --- a/src/mongo/db/pipeline/document_source.h +++ b/src/mongo/db/pipeline/document_source.h @@ -496,6 +496,10 @@ public: virtual void reattachToOperationContext(OperationContext* opCtx) {} + virtual bool usedDisk() { + return false; + }; + /** * Create a DocumentSource pipeline stage from 'stageObj'. */ |