summaryrefslogtreecommitdiff
path: root/src/mongo/db/client.cpp
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2014-10-21 10:24:24 -0400
committerDavid Storch <david.storch@10gen.com>2014-10-21 10:32:59 -0400
commit011dde7e6eac3b73cb1d2a7f004feee9bed99c46 (patch)
tree32b20bc3224627c93e5781ba72abb45a1f825b37 /src/mongo/db/client.cpp
parent0bee61d26e44e26c2678d550990a57ce488f222d (diff)
downloadmongo-011dde7e6eac3b73cb1d2a7f004feee9bed99c46.tar.gz
SERVER-15541 SERVER-15652 implement timing-based yielding
Diffstat (limited to 'src/mongo/db/client.cpp')
-rw-r--r--src/mongo/db/client.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/db/client.cpp b/src/mongo/db/client.cpp
index 9b8bb0ae780..496dbae6cae 100644
--- a/src/mongo/db/client.cpp
+++ b/src/mongo/db/client.cpp
@@ -264,13 +264,8 @@ namespace mongo {
_nss(ns),
_dblk(opCtx->lockState(), _nss.db(), MODE_IX),
_collk(opCtx->lockState(), ns, MODE_IX),
- _wunit(opCtx),
_c(opCtx, ns) { }
- void Client::WriteContext::commit() {
- _wunit.commit();
- }
-
void Client::Context::checkNotStale() const {
switch ( _client->_curOp->getOp() ) {
case dbGetMore: // getMore's are special and should be handled else where