summaryrefslogtreecommitdiff
path: root/src/mongo/db/ttl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/ttl.cpp')
-rw-r--r--src/mongo/db/ttl.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mongo/db/ttl.cpp b/src/mongo/db/ttl.cpp
index 861d9dee426..0dc26fde8b2 100644
--- a/src/mongo/db/ttl.cpp
+++ b/src/mongo/db/ttl.cpp
@@ -223,7 +223,6 @@ namespace mongo {
n = deleteObjects( txn, ctx.ctx().db(), ns, query, false, true );
ttlDeletedDocuments.increment( n );
- ctx.commit();
}
LOG(1) << "\tTTL deleted: " << n << endl;