diff options
author | Mathias Stearn <mathias@10gen.com> | 2010-05-14 13:33:16 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2010-05-14 13:34:50 -0400 |
commit | d060bfb595b04ba33f90a8efba1dcafe8267cb07 (patch) | |
tree | 7cfffa205b822c2eb269b6508d37b13135407ab2 /db/repl.cpp | |
parent | e8a8a31b18219e04ece58db614cd739a7df9b22b (diff) | |
download | mongo-d060bfb595b04ba33f90a8efba1dcafe8267cb07.tar.gz |
convert massert and uassert back to macros
Diffstat (limited to 'db/repl.cpp')
-rw-r--r-- | db/repl.cpp | 2 |
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() ); } } |