summaryrefslogtreecommitdiff
path: root/src/mongo/db/clientcursor.h
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2015-04-06 09:10:57 -0400
committerEric Milkie <milkie@10gen.com>2015-04-07 16:25:34 -0400
commit0f58d1037bcbfbf932e73e623772c4f815c361ad (patch)
treeae7ea2cf29830f0dc39e326142ddc1b6bc468804 /src/mongo/db/clientcursor.h
parent72543912dca4117e1deb45a56c599657a1bf747c (diff)
downloadmongo-0f58d1037bcbfbf932e73e623772c4f815c361ad.tar.gz
SERVER-17880 Rename OpTime to Timestamp
Diffstat (limited to 'src/mongo/db/clientcursor.h')
-rw-r--r--src/mongo/db/clientcursor.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/clientcursor.h b/src/mongo/db/clientcursor.h
index 554fb0e7076..86d8bc0b7bb 100644
--- a/src/mongo/db/clientcursor.h
+++ b/src/mongo/db/clientcursor.h
@@ -136,9 +136,9 @@ namespace mongo {
//
void updateSlaveLocation(OperationContext* txn);
- void slaveReadTill( const OpTime& t ) { _slaveReadTill = t; }
+ void slaveReadTill( const Timestamp& t ) { _slaveReadTill = t; }
/** Just for testing. */
- OpTime getSlaveReadTill() const { return _slaveReadTill; }
+ Timestamp getSlaveReadTill() const { return _slaveReadTill; }
//
// Query-specific functionality that may be adapted for the PlanExecutor.
@@ -250,7 +250,7 @@ namespace mongo {
bool _isNoTimeout;
// TODO: document better.
- OpTime _slaveReadTill;
+ Timestamp _slaveReadTill;
// How long has the cursor been idle?
int _idleAgeMillis;