Binary compatibility report for the mongoDB library between 1.9.2 and 2.0.0 versions on x86
Test Info
Library Name | mongoDB |
Version #1 | 1.9.2 |
Version #2 | 2.0.0 |
CPU Architecture | x86 |
GCC Version | 4.5 |
Test Results
Total Header Files | 1 |
Total Shared Libraries | 2 |
Total Symbols / Types | 593 / 461 |
Verdict | Incompatible (7.25%) |
---|
Problem Summary
| Severity | Count |
---|
Added Symbols | - | 0 |
Removed Symbols | High | 42 |
Problems with Data Types | High | 1 |
Medium | 0 |
Low | 1 |
Problems with Symbols | High | 0 |
Medium | 0 |
Low | 0 |
Problems with Constants | Low | 0 |
Other Changes | - | 0 |
Removed Symbols (42)
bson-inl.h,
libmongoshellfiles.so
namespace mongo
dotted2nested ( BSONObjBuilder& b, BSONObj const& obj )
[ symbol: _ZN5mongo13dotted2nestedERNS_14BSONObjBuilderERKNS_7BSONObjE ]
nested2dotted ( BSONObjBuilder& b, BSONObj const& obj, std::string const& base )
[ symbol: _ZN5mongo13nested2dottedERNS_14BSONObjBuilderERKNS_7BSONObjERKSs ]
bsonelement.h,
libmongoshellfiles.so
namespace mongo
BSONElement::getGtLtOp ( int def ) const
[ symbol: _ZNK5mongo11BSONElement9getGtLtOpEi ]
BSONElement::jsonString ( JsonStringFormat format, bool includeFieldNames, int pretty ) const
[ symbol: _ZNK5mongo11BSONElement10jsonStringENS_16JsonStringFormatEbi ]
bsonmisc.h,
libmongoshellfiles.so
namespace mongo
DATENOW [data]
[ symbol: _ZN5mongo7DATENOWE ]
fieldsMatch ( BSONObj const& lhs, BSONObj const& rhs )
[ symbol: _ZN5mongo11fieldsMatchERKNS_7BSONObjES2_ ]
GENOID [data]
[ symbol: _ZN5mongo6GENOIDE ]
getGtLtOp ( BSONElement const& e )
[ symbol: _ZN5mongo9getGtLtOpERKNS_11BSONElementE ]
GT [data]
[ symbol: _ZN5mongo2GTE ]
GTE [data]
[ symbol: _ZN5mongo3GTEE ]
LT [data]
[ symbol: _ZN5mongo2LTE ]
LTE [data]
[ symbol: _ZN5mongo3LTEE ]
MAXKEY [data]
[ symbol: _ZN5mongo6MAXKEYE ]
MINKEY [data]
[ symbol: _ZN5mongo6MINKEYE ]
NE [data]
[ symbol: _ZN5mongo2NEE ]
SIZE [data]
[ symbol: _ZN5mongo4SIZEE ]
bsonobj.h,
libmongoshellfiles.so
namespace mongo
BSONObj::addFields ( BSONObj& from, std::set<std::string>& fields )
[ symbol: _ZN5mongo7BSONObj9addFieldsERS0_RSt3setISsSt4lessISsESaISsEE ]
BSONObj::clientReadable ( ) const
[ symbol: _ZNK5mongo7BSONObj14clientReadableEv ]
BSONObj::dump ( ) const
[ symbol: _ZNK5mongo7BSONObj4dumpEv ]
BSONObj::extractFields ( BSONObj const& pattern, bool fillWithNull ) const
[ symbol: _ZNK5mongo7BSONObj13extractFieldsERKS0_b ]
BSONObj::extractFieldsUnDotted ( BSONObj pattern ) const
[ symbol: _ZNK5mongo7BSONObj21extractFieldsUnDottedES0_ ]
BSONObj::filterFieldsUndotted ( BSONObj const& filter, bool inFilter ) const
[ symbol: _ZNK5mongo7BSONObj20filterFieldsUndottedERKS0_b ]
BSONObj::getFieldDottedOrArray ( char const*& name ) const
[ symbol: _ZNK5mongo7BSONObj21getFieldDottedOrArrayERPKc ]
BSONObj::getFieldNames ( std::set<std::string>& fields ) const
[ symbol: _ZNK5mongo7BSONObj13getFieldNamesERSt3setISsSt4lessISsESaISsEE ]
BSONObj::getFieldsDotted ( StringData const& name, BSONElementMSet& ret, bool expandLastArray ) const
[ symbol: _ZNK5mongo7BSONObj15getFieldsDottedERKNS_10StringDataERSt8multisetINS_11BSONElementENS_26BSONElementCmpWithoutFieldESaIS5_EEb ]
BSONObj::getFieldsDotted ( StringData const& name, BSONElementSet& ret, bool expandLastArray ) const
[ symbol: _ZNK5mongo7BSONObj15getFieldsDottedERKNS_10StringDataERSt3setINS_11BSONElementENS_26BSONElementCmpWithoutFieldESaIS5_EEb ]
BSONObj::getFieldUsingIndexNames ( char const* fieldName, BSONObj const& indexKey ) const
[ symbol: _ZNK5mongo7BSONObj23getFieldUsingIndexNamesEPKcRKS0_ ]
BSONObj::jsonString ( JsonStringFormat format, int pretty ) const
[ symbol: _ZNK5mongo7BSONObj10jsonStringENS_16JsonStringFormatEi ]
BSONObj::md5 ( ) const
[ symbol: _ZNK5mongo7BSONObj3md5Ev ]
BSONObj::okForStorage ( ) const
[ symbol: _ZNK5mongo7BSONObj12okForStorageEv ]
BSONObj::replaceFieldNames ( BSONObj const& obj ) const
[ symbol: _ZNK5mongo7BSONObj17replaceFieldNamesERKS0_ ]
BSONObj::valid ( ) const
[ symbol: _ZNK5mongo7BSONObj5validEv ]
BSONObj::woCompare ( BSONObj const& r, BSONObj const& ordering, bool considerFieldName ) const
[ symbol: _ZNK5mongo7BSONObj9woCompareERKS0_S2_b ]
BSONObj::woCompare ( BSONObj const& r, Ordering const& o, bool considerFieldName ) const
[ symbol: _ZNK5mongo7BSONObj9woCompareERKS0_RKNS_8OrderingEb ]
BSONObj::woSortOrder ( BSONObj const& r, BSONObj const& sortKey, bool useDotted ) const
[ symbol: _ZNK5mongo7BSONObj11woSortOrderERKS0_S2_b ]
bsonobjbuilder.h,
libmongoshellfiles.so
namespace mongo
BSONObjBuilder::appendAsNumber ( StringData const& fieldName, std::string const& data )
[ symbol: _ZN5mongo14BSONObjBuilder14appendAsNumberERKNS_10StringDataERKSs ]
BSONObjBuilder::appendMaxForType ( StringData const& fieldName, int type )
[ symbol: _ZN5mongo14BSONObjBuilder16appendMaxForTypeERKNS_10StringDataEi ]
BSONObjBuilder::appendMinForType ( StringData const& fieldName, int type )
[ symbol: _ZN5mongo14BSONObjBuilder16appendMinForTypeERKNS_10StringDataEi ]
bsonobjiterator.h,
libmongoshellfiles.so
namespace mongo
BSONObjIteratorSorted::BSONObjIteratorSorted [in-charge] ( BSONObj const& o )
[ symbol: _ZN5mongo21BSONObjIteratorSortedC1ERKNS_7BSONObjE ]
BSONObjIteratorSorted::BSONObjIteratorSorted [not-in-charge] ( BSONObj const& o )
[ symbol: _ZN5mongo21BSONObjIteratorSortedC2ERKNS_7BSONObjE ]
bsontypes.h,
libmongoshellfiles.so
namespace mongo
maxKey [data]
[ symbol: _ZN5mongo6maxKeyE ]
minKey [data]
[ symbol: _ZN5mongo6minKeyE ]
to the top
Problems with Data Types, High Severity (1)
cmdline.h
namespace mongo
[+] class CmdLine (1)
| Change |
Effect |
1 | Size of this class has been changed from 100 bytes to 104 bytes. | 1) The class has only inline or auto-generated constructors which will be copied to applications at compile time and will allocate an older memory layout. Call of any exported method of this class may access a memory outside the allocated objects or inside the older memory structure and result in crash or incorrect behavior of applications. 2) The memory layout and size of subclasses will be changed. |
[+] affected symbols (1)
cmdLine [data]Return value has type 'CmdLine'.
to the top
Problems with Data Types, Low Severity (1)
cmdline.h
namespace mongo
[+] class CmdLine (1)
| Change |
Effect |
1 | Field keyFile has been added to this type. | Size of the inclusive type has been changed. NOTE: this field should be accessed only from the new library functions, otherwise it may result in crash or incorrect behavior of applications. |
[+] affected symbols (1)
cmdLine [data]Return value has type 'CmdLine'.
to the top
Header Files (1)
dbclient.h
to the top
Shared Libraries (2)
libmongoshellfiles.so
libmongotestfiles.so
to the top