summaryrefslogtreecommitdiff
path: root/db/repl.cpp
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2010-05-14 13:33:16 -0400
committerMathias Stearn <mathias@10gen.com>2010-05-14 13:34:50 -0400
commitd060bfb595b04ba33f90a8efba1dcafe8267cb07 (patch)
tree7cfffa205b822c2eb269b6508d37b13135407ab2 /db/repl.cpp
parente8a8a31b18219e04ece58db614cd739a7df9b22b (diff)
downloadmongo-d060bfb595b04ba33f90a8efba1dcafe8267cb07.tar.gz
convert massert and uassert back to macros
Diffstat (limited to 'db/repl.cpp')
-rw-r--r--db/repl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/repl.cpp b/db/repl.cpp
index 197b322b7f2..ec9293902c1 100644
--- a/db/repl.cpp
+++ b/db/repl.cpp
@@ -1065,7 +1065,7 @@ namespace mongo {
BSONObj last = conn->findOne( _ns.c_str(), Query( b.done() ).sort( BSON( "$natural" << -1 ) ) );
if ( !last.isEmpty() ) {
BSONElement ts = last.getField( "ts" );
- massert( 10386 , "non Date ts found", last, ts.type() == Date || ts.type() == Timestamp );
+ massert( 10386 , "non Date ts found: " + last.toString(), ts.type() == Date || ts.type() == Timestamp );
syncedTo = OpTime( ts.date() );
}
}