summaryrefslogtreecommitdiff
path: root/src/mongo/db/dbcommands.cpp
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/dbcommands.cpp
parent72543912dca4117e1deb45a56c599657a1bf747c (diff)
downloadmongo-0f58d1037bcbfbf932e73e623772c4f815c361ad.tar.gz
SERVER-17880 Rename OpTime to Timestamp
Diffstat (limited to 'src/mongo/db/dbcommands.cpp')
-rw-r--r--src/mongo/db/dbcommands.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mongo/db/dbcommands.cpp b/src/mongo/db/dbcommands.cpp
index 6fa03e9909a..297dd866f7d 100644
--- a/src/mongo/db/dbcommands.cpp
+++ b/src/mongo/db/dbcommands.cpp
@@ -1397,9 +1397,9 @@ namespace mongo {
};
namespace {
- void appendGLEHelperData(BSONObjBuilder& bob, const OpTime& opTime, const OID& oid) {
+ void appendGLEHelperData(BSONObjBuilder& bob, const Timestamp& opTime, const OID& oid) {
BSONObjBuilder subobj(bob.subobjStart(kGLEStatsFieldName));
- subobj.appendTimestamp(kGLEStatsLastOpTimeFieldName, opTime.asDate());
+ subobj.append(kGLEStatsLastOpTimeFieldName, opTime);
subobj.appendOID(kGLEStatsElectionIdFieldName, const_cast<OID*>(&oid));
subobj.done();
}