summaryrefslogtreecommitdiff
path: root/src/mongo/db/dbhelpers.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/dbhelpers.cpp')
-rw-r--r--src/mongo/db/dbhelpers.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/dbhelpers.cpp b/src/mongo/db/dbhelpers.cpp
index 9517636e004..1f5381fe45c 100644
--- a/src/mongo/db/dbhelpers.cpp
+++ b/src/mongo/db/dbhelpers.cpp
@@ -72,7 +72,7 @@ namespace mongo {
b.appendBool("unique", unique);
BSONObj o = b.done();
- Status status = collection->getIndexCatalog()->createIndex( o, false );
+ Status status = collection->getIndexCatalog()->createIndex(txn, o, false);
if ( status.code() == ErrorCodes::IndexAlreadyExists )
return;
uassertStatusOK( status );