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:
parent
342deb14a9
commit
4397393a97
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user