summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 );