diff options
author | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2017-06-15 00:17:19 -0400 |
---|---|---|
committer | Max Hirschhorn <max.hirschhorn@mongodb.com> | 2017-06-15 00:17:19 -0400 |
commit | 59ea14f97808e343a4a10a1b5352b7096b695e38 (patch) | |
tree | dfd0d9b7b04819f7e321ad8c63ac4971be85d5a8 /src/mongo/db/db_raii.cpp | |
parent | 3ac29e19745e4a594bff892f3de8372159770565 (diff) | |
download | mongo-59ea14f97808e343a4a10a1b5352b7096b695e38.tar.gz |
Revert "SERVER-29417 Attach logical session ids to cursors"
This reverts commit 65828661c6579989fdbb43f2c21de16f2bf72586.
Diffstat (limited to 'src/mongo/db/db_raii.cpp')
-rw-r--r-- | src/mongo/db/db_raii.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mongo/db/db_raii.cpp b/src/mongo/db/db_raii.cpp index bff855fcc5b..478047eb0cc 100644 --- a/src/mongo/db/db_raii.cpp +++ b/src/mongo/db/db_raii.cpp @@ -72,14 +72,6 @@ AutoGetCollection::AutoGetCollection(OperationContext* opCtx, } } -AutoGetCollectionOrView::AutoGetCollectionOrView(OperationContext* opCtx, - const NamespaceString& nss, - LockMode modeAll) - : _autoColl(opCtx, nss, modeAll, modeAll, AutoGetCollection::ViewMode::kViewsPermitted), - _view(_autoColl.getDb() && !_autoColl.getCollection() - ? _autoColl.getDb()->getViewCatalog()->lookup(opCtx, nss.ns()) - : nullptr) {} - AutoGetOrCreateDb::AutoGetOrCreateDb(OperationContext* opCtx, StringData ns, LockMode mode) : _dbLock(opCtx, ns, mode), _db(dbHolder().get(opCtx, ns)) { invariant(mode == MODE_IX || mode == MODE_X); |