diff options
author | David Storch <david.storch@10gen.com> | 2018-07-27 18:48:05 -0400 |
---|---|---|
committer | David Storch <david.storch@10gen.com> | 2018-07-31 12:53:51 -0400 |
commit | 21c25ecaaaabe6ad4d7e8a2eb261dad1e2eb90df (patch) | |
tree | e37b37b17c97923c73f55249ac2ac52b2d4c59e9 /src/mongo/db/index/index_access_method.cpp | |
parent | a1b225bcf0e9791b14649df385b3f3f9710a98ab (diff) | |
download | mongo-21c25ecaaaabe6ad4d7e8a2eb261dad1e2eb90df.tar.gz |
SERVER-36153 Delete SortedDataInterface::newRandomCursor()
Only the MMAPv1 storage engine ever provided an
implementation for this virtual method, and MMAPv1 has since
been removed from the development branch.
Diffstat (limited to 'src/mongo/db/index/index_access_method.cpp')
-rw-r--r-- | src/mongo/db/index/index_access_method.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/index/index_access_method.cpp b/src/mongo/db/index/index_access_method.cpp index 7ab26cbb9c2..04ebed5b623 100644 --- a/src/mongo/db/index/index_access_method.cpp +++ b/src/mongo/db/index/index_access_method.cpp @@ -190,11 +190,6 @@ std::unique_ptr<SortedDataInterface::Cursor> IndexAccessMethod::newCursor(Operat return _newInterface->newCursor(opCtx, isForward); } -std::unique_ptr<SortedDataInterface::Cursor> IndexAccessMethod::newRandomCursor( - OperationContext* opCtx) const { - return _newInterface->newRandomCursor(opCtx); -} - // Remove the provided doc from the index. Status IndexAccessMethod::remove(OperationContext* opCtx, const BSONObj& obj, |