diff options
author | Jason Rassi <rassi@10gen.com> | 2015-01-12 12:32:13 -0500 |
---|---|---|
committer | Jason Rassi <rassi@10gen.com> | 2015-01-12 12:40:45 -0500 |
commit | 9e1c94c0c9348f08bfa405896a28707afd62c899 (patch) | |
tree | 53c693ec8e28733e6d216f955223016b7521e9ff /src/mongo/db/catalog/cursor_manager.cpp | |
parent | 2468153c690dbe8312a10829d3cd7565ed90c1e1 (diff) | |
download | mongo-9e1c94c0c9348f08bfa405896a28707afd62c899.tar.gz |
SERVER-16659 Collection: rename cursorManager() to getCursorManager()
Diffstat (limited to 'src/mongo/db/catalog/cursor_manager.cpp')
-rw-r--r-- | src/mongo/db/catalog/cursor_manager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/catalog/cursor_manager.cpp b/src/mongo/db/catalog/cursor_manager.cpp index 1e8d2480eee..e097bd1aee7 100644 --- a/src/mongo/db/catalog/cursor_manager.cpp +++ b/src/mongo/db/catalog/cursor_manager.cpp @@ -234,7 +234,7 @@ namespace mongo { ErrorCodes::CursorNotFound); return false; } - return collection->cursorManager()->eraseCursor(txn, id, checkAuth); + return collection->getCursorManager()->eraseCursor(txn, id, checkAuth); } std::size_t GlobalCursorIdCache::timeoutCursors(OperationContext* txn, int millisSinceLastCall) { @@ -272,7 +272,7 @@ namespace mongo { continue; } - totalTimedOut += collection->cursorManager()->timeoutCursors( millisSinceLastCall ); + totalTimedOut += collection->getCursorManager()->timeoutCursors( millisSinceLastCall ); } return totalTimedOut; |