summaryrefslogtreecommitdiff
path: root/src/mongo/db
diff options
context:
space:
mode:
authormatt dannenberg <matt.dannenberg@10gen.com>2013-10-29 10:57:42 -0400
committermatt dannenberg <matt.dannenberg@10gen.com>2013-10-29 10:57:42 -0400
commit6b80fc72e0ec7ad6b23382fe1f47a09e2b56cb8c (patch)
tree75f48a08d63ee6c707ba115f491d76aec08c06f2 /src/mongo/db
parentfaae4bd1cd1fc0d89da9d5ffe7d1945c4154f6c9 (diff)
downloadmongo-6b80fc72e0ec7ad6b23382fe1f47a09e2b56cb8c.tar.gz
SERVER-11440 changed auditLogging of dropIndex to show indexName rather than indexNamespace
Diffstat (limited to 'src/mongo/db')
-rw-r--r--src/mongo/db/catalog/index_catalog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/catalog/index_catalog.cpp b/src/mongo/db/catalog/index_catalog.cpp
index c4f3cdc7b0d..404d32e7471 100644
--- a/src/mongo/db/catalog/index_catalog.cpp
+++ b/src/mongo/db/catalog/index_catalog.cpp
@@ -562,7 +562,7 @@ namespace mongo {
// --------- START REAL WORK ----------
- audit::logDropIndex( currentClient.get(), indexNamespace, _collection->ns().ns() );
+ audit::logDropIndex( currentClient.get(), indexName, _collection->ns().ns() );
try {
_details->clearSystemFlag( NamespaceDetails::Flag_HaveIdIndex );