diff options
author | U-tellus\cwestin <cwestin@10gen.com> | 2012-01-30 17:12:51 -0800 |
---|---|---|
committer | U-tellus\cwestin <cwestin@10gen.com> | 2012-02-14 18:02:58 -0800 |
commit | 57ea070eb7c129935d9d96e7655dfd4467eef857 (patch) | |
tree | eac2b5e232078b2a7e70632272d5f3f13b6a7b0d /src/mongo/db/pipeline/document_source_limit.cpp | |
parent | 1eaada83e82be3a8c4ef5977f5843f0d7aa3dfc1 (diff) | |
download | mongo-57ea070eb7c129935d9d96e7655dfd4467eef857.tar.gz |
checkpoint dependency tracker for SERVER-4644
Diffstat (limited to 'src/mongo/db/pipeline/document_source_limit.cpp')
-rw-r--r-- | src/mongo/db/pipeline/document_source_limit.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mongo/db/pipeline/document_source_limit.cpp b/src/mongo/db/pipeline/document_source_limit.cpp index fd977cc126a..5dc75122800 100644 --- a/src/mongo/db/pipeline/document_source_limit.cpp +++ b/src/mongo/db/pipeline/document_source_limit.cpp @@ -36,6 +36,10 @@ namespace mongo { DocumentSourceLimit::~DocumentSourceLimit() { } + const char *DocumentSourceLimit::getSourceName() const { + return limitName; + } + bool DocumentSourceLimit::eof() { return pSource->eof() || count >= limit; } |