summaryrefslogtreecommitdiff
path: root/db/reccache.h
diff options
context:
space:
mode:
authorDwight <dmerriman@gmail.com>2009-10-14 15:59:55 -0400
committerDwight <dmerriman@gmail.com>2009-10-14 15:59:55 -0400
commit6641b275590663a58ad9687eefac59313a48435e (patch)
treeedcbd98aa4c85952319a69adea0db2d9bcf4dc68 /db/reccache.h
parente36facf0a1377ef4ac1c8e6091c8bbd590c94bf0 (diff)
downloadmongo-6641b275590663a58ad9687eefac59313a48435e.tar.gz
startable
Diffstat (limited to 'db/reccache.h')
-rw-r--r--db/reccache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/db/reccache.h b/db/reccache.h
index 71352c4974b..4cb4e31bb21 100644
--- a/db/reccache.h
+++ b/db/reccache.h
@@ -225,7 +225,8 @@ public:
inline void dbunlocking() {
theRecCache.ejectOld();
- cc().top.clientStop();
+ Client *c = currentClient.get();
+ c->top.clientStop();
}
} /*namespace*/