summaryrefslogtreecommitdiff
path: root/src/mongo/db/jsobj.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/jsobj.cpp')
-rw-r--r--src/mongo/db/jsobj.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/jsobj.cpp b/src/mongo/db/jsobj.cpp
index 1378a9513a8..73ef893f525 100644
--- a/src/mongo/db/jsobj.cpp
+++ b/src/mongo/db/jsobj.cpp
@@ -1283,7 +1283,7 @@ namespace mongo {
case Date:
appendDate( fieldName , numeric_limits<long long>::max() ); return;
case Timestamp: // TODO integrate with Date SERVER-3304
- appendTimestamp( fieldName , numeric_limits<unsigned long long>::max() ); return;
+ append( fieldName , OpTime::max() ); return;
case Undefined: // shared with EOO
appendUndefined( fieldName ); return;