diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-03-04 14:43:27 -0500 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2016-03-08 15:29:06 -0500 |
commit | 7df00746cc59c9df635402f531abd18481b9a034 (patch) | |
tree | 3c4526b9887ee0b58ac09927795fac0c313ea0d1 /src/mongo/db/db_raii.h | |
parent | 8f1e89803e2239bd31ecb53c85245a249b7e04ce (diff) | |
download | mongo-7df00746cc59c9df635402f531abd18481b9a034.tar.gz |
SERVER-22972 Remove usages of OldClientContext which reference database
Some of these are doing shard version checking against the name of the
database, which is useless and breaks sharding assertions, which we are
about to add.
Diffstat (limited to 'src/mongo/db/db_raii.h')
-rw-r--r-- | src/mongo/db/db_raii.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mongo/db/db_raii.h b/src/mongo/db/db_raii.h index 59a43d67d64..948cf014c90 100644 --- a/src/mongo/db/db_raii.h +++ b/src/mongo/db/db_raii.h @@ -182,9 +182,6 @@ public: Database* db() const { return _db; } - const char* ns() const { - return _ns.c_str(); - } /** @return if the db was created by this OldClientContext */ bool justCreated() const { |