diff options
author | Eliot Horowitz <eliot@10gen.com> | 2014-03-31 11:11:15 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2014-04-03 13:31:49 -0400 |
commit | c50dcd3109d76d85c90e5786d5fe7aec73c4f8de (patch) | |
tree | bacd75f0e397e571800f45ca187f8a2b00d9cc56 /src/mongo/db/auth/role_graph_update.cpp | |
parent | 5234c5739a3dfbba1a831b6b818b29a1e9ec4f0d (diff) | |
download | mongo-c50dcd3109d76d85c90e5786d5fe7aec73c4f8de.tar.gz |
SERVER-13084: remove NamespaceDetails::emptyCappedCollection and replace with Collection::truncate
Diffstat (limited to 'src/mongo/db/auth/role_graph_update.cpp')
-rw-r--r-- | src/mongo/db/auth/role_graph_update.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/auth/role_graph_update.cpp b/src/mongo/db/auth/role_graph_update.cpp index c1f0e7c834f..873c36b54f2 100644 --- a/src/mongo/db/auth/role_graph_update.cpp +++ b/src/mongo/db/auth/role_graph_update.cpp @@ -261,7 +261,7 @@ namespace { if (cmdName == "dropIndexes" || cmdName == "deleteIndexes") { return Status::OK(); } - if ((cmdName == "collMod" || cmdName == "emptyCappedCollection") && + if ((cmdName == "collMod" || cmdName == "emptycapped") && cmdObj.firstElement().str() != rolesCollectionNamespace.coll()) { // We don't care about these if they're not on the roles collection. |