summaryrefslogtreecommitdiff
path: root/src/mongo/db/clientcursor.h
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2014-10-16 16:13:21 -0400
committerMathias Stearn <mathias@10gen.com>2014-10-17 20:34:41 -0400
commit5496425827e4a2fd883c6c429ea09fa410632fcb (patch)
treeebd65e84cf8c49920fbefec96663d381c1f82452 /src/mongo/db/clientcursor.h
parent3c54ca1f58084845b7f778bde2f8a0f2138f727e (diff)
downloadmongo-5496425827e4a2fd883c6c429ea09fa410632fcb.tar.gz
SERVER-13635 lift tailable out of StorageEngine API and handle in query layer.
Diffstat (limited to 'src/mongo/db/clientcursor.h')
-rw-r--r--src/mongo/db/clientcursor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/clientcursor.h b/src/mongo/db/clientcursor.h
index a30b734a70f..f906c915913 100644
--- a/src/mongo/db/clientcursor.h
+++ b/src/mongo/db/clientcursor.h
@@ -153,6 +153,8 @@ namespace mongo {
// Storage engine state for getMore.
//
+ bool hasRecoveryUnit() const { return _ownedRU.get() || _unownedRU; }
+
/**
*
* If a ClientCursor is created via DBDirectClient, it uses the same storage engine