diff options
author | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-05-01 21:47:12 -0400 |
---|---|---|
committer | Kaloian Manassiev <kaloian.manassiev@mongodb.com> | 2014-05-04 17:54:10 -0400 |
commit | ef53c2435ea7b041fb06ed30ff3baf0ab8c30466 (patch) | |
tree | 028f54200fd61fc97d8f4447013c6f8f0d3b3016 /src/mongo/db/ttl.cpp | |
parent | 8fe31447b9d21521aa8022a24b4b1c27747c2ba5 (diff) | |
download | mongo-ef53c2435ea7b041fb06ed30ff3baf0ab8c30466.tar.gz |
SERVER-13797 Remove more usages of Client::getContext
This change removes additional usages of Client::getContext and replaces
them with passing the database directly.
Diffstat (limited to 'src/mongo/db/ttl.cpp')
-rw-r--r-- | src/mongo/db/ttl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/ttl.cpp b/src/mongo/db/ttl.cpp index dcccb9b4d2f..d7b73a97fda 100644 --- a/src/mongo/db/ttl.cpp +++ b/src/mongo/db/ttl.cpp @@ -134,7 +134,7 @@ namespace mongo { continue; } - n = deleteObjects( &txn, ns , query , false , true ); + n = deleteObjects(&txn, ctx.ctx().db(), ns, query, false, true); ttlDeletedDocuments.increment( n ); } |