0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-11-30 00:56:44 +01:00

print stack trace when detect an invalid BSON object

This commit is contained in:
Aaron 2009-05-28 16:30:24 -04:00
parent 342deb14a9
commit 4397393a97

View File

@ -505,7 +505,7 @@ namespace mongo {
if ( ifree )
_holder.reset( new Holder( data ) );
_objdata = data;
massert( "Invalid BSONObj spec size", isValid() );
assert( "Invalid BSONObj spec size" && isValid() );
}
#pragma pack(1)
static struct EmptyObject {