diff options
author | Aaron <aaron@10gen.com> | 2012-02-18 12:38:54 -0800 |
---|---|---|
committer | Aaron <aaron@10gen.com> | 2012-02-24 22:49:11 -0800 |
commit | d633f330ec01b1fcff1ee539df16344583583f55 (patch) | |
tree | 643f220bbc69847540729286c03c4a144c844649 /src/mongo/db/clientcursor.h | |
parent | 02d8e5de8c3e8dfa1677df978b68e91f129c4439 (diff) | |
download | mongo-d633f330ec01b1fcff1ee539df16344583583f55.tar.gz |
SERVER-4150 enable setting client cursor's slaveReadTill field
Diffstat (limited to 'src/mongo/db/clientcursor.h')
-rw-r--r-- | src/mongo/db/clientcursor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mongo/db/clientcursor.h b/src/mongo/db/clientcursor.h index 0022a9e6190..501cbbb8261 100644 --- a/src/mongo/db/clientcursor.h +++ b/src/mongo/db/clientcursor.h @@ -362,6 +362,9 @@ namespace mongo { void setDoingDeletes( bool doingDeletes ) {_doingDeletes = doingDeletes; } void slaveReadTill( const OpTime& t ) { _slaveReadTill = t; } + + /** Just for testing. */ + OpTime getSlaveReadTill() const { return _slaveReadTill; } public: // static methods |