diff options
author | Eliot Horowitz <eliot@10gen.com> | 2014-04-17 12:13:59 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2014-04-17 13:14:04 -0400 |
commit | 03a7be273f670f01f3c510e43464d7ecd1ce2173 (patch) | |
tree | df3b65ce9a85e7afbe63506851cc8e8bd1efca69 /src/mongo/db/index_rebuilder.cpp | |
parent | 92748f2572fd6492bfccd56e339b7255017d15ee (diff) | |
download | mongo-03a7be273f670f01f3c510e43464d7ecd1ce2173.tar.gz |
SERVER-13084: remove Client::database and make many things not use thread local versions
Diffstat (limited to 'src/mongo/db/index_rebuilder.cpp')
-rw-r--r-- | src/mongo/db/index_rebuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/index_rebuilder.cpp b/src/mongo/db/index_rebuilder.cpp index 734b7bf75b2..35969190807 100644 --- a/src/mongo/db/index_rebuilder.cpp +++ b/src/mongo/db/index_rebuilder.cpp @@ -62,7 +62,7 @@ namespace mongo { dbName < dbNames.end(); dbName++) { Client::ReadContext ctx(*dbName); - Database* db = cc().database(); + Database* db = ctx.ctx().db(); db->namespaceIndex().getNamespaces(collNames, /* onlyCollections */ true); } checkNS(collNames); |