summaryrefslogtreecommitdiff
path: root/src/mongo/bson/bson_obj_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-30176: Extend the JSON Schema parser to handle logical restriction ↵Nick Zolnierz2017-09-191-0/+47
| | | | keywords (enum only)
* SERVER-27992 Use UUIDs for replicationGeert Bosch2017-06-231-0/+20
|
* SERVER-23990 move BSONObj/BSONElement hashing into ↵David Storch2016-09-091-0/+35
| | | | {BSONObj,BSONElement}::ComparatorInterface
* SERVER-24508 BSONObj::ComparatorInterfaceDavid Storch2016-08-181-200/+218
| | | | | | | | | | | BSONObj instances should now be compared via the comparator interface's evaluate() method. This preferred over using BSONObj::woCompare() directly. If the comparison doesn't require any database semantics (e.g. there is no collation), there is a global instance of the SimpleBSONObjComparator which should be used for BSONObj comparisons. If the comparison requires special semantics, then callers must instantiate their own comparator object.
* SERVER-24418 Make Message and BufBuilder use SharedBuffer for memory managementMathias Stearn2016-06-221-0/+14
| | | | | | | | | | | | | This makes it possible to get owned BSONObj out of a Message without copying. Hooked up to the following places: - Anything using the Fetcher (including oplog fetching on secondaries) - Anything using DBClientInterface::findOne() - Anything using CursorResponse (including Sharded queries) As a simplification, Messages no longer support non-contiguous buffers, or non-owning buffers. The former wasn't used by anything, and the latter was only used by mongosniff only for messages that fit in a single packet.
* SERVER-23971 Clang-Format codeMark Benvenuto2016-05-281-1/+4
|
* SERVER-23553 Remove Decimal128::enabled; now always trueGeert Bosch2016-05-181-161/+128
|
* SERVER-10568 SafeNum should be written in terms of explicitly sized typesWaley2016-02-081-2/+2
|
* SERVER-20609 use getFields instead of calling getField 4xAdam Midvidy2015-10-301-0/+27
|
* SERVER-21160: revert woCompare to using unsigned comparison for TimestampGeert Bosch2015-10-301-0/+6
|
* Revert "SERVER-21160: revert woCompare to using unsigned comparison for ↵Geert Bosch2015-10-291-6/+0
| | | | | | Timestamp" This reverts commit adcef363bccdb179e448b47e18ba5541d9a60eab.
* SERVER-21160: revert woCompare to using unsigned comparison for TimestampGeert Bosch2015-10-281-0/+6
|
* SERVER-19624 Add Decimal128 type support to mongo/bson layerRaymond Jacobson2015-08-071-0/+201
|
* SERVER-18579: Clang-Format - reformat code, no comment reflowMark Benvenuto2015-06-201-231/+270
|
* SERVER-18463 Remove BSON startup testsKaloian Manassiev2015-05-151-0/+95
| | | | This is on the way to remove the startup tests infrastructure.
* Support C++11 range-based for loops over BSONObjMathias Stearn2015-03-271-0/+21
|
* SERVER-16632 Test more interesting numeric cases for KeyStringMathias Stearn2015-01-121-3/+9
|
* Make BSONObj::woCompare a total orderingMathias Stearn2015-01-071-1/+138
| | | | | | | | | | | | | | | | | | | | Changes: * Date and Timestamp are now distinct with all Dates before all Timestamps. * Numeric comparisons now correctly handle Doubles and Long > 2**53. * CodeWScope doesn't strcmp BSONObjs or strings which may contain NULs. There should be no changes in any of the cases where woCompare defined a correct total ordering before. The new behavior matches the ordering defined by KeyString. Related tickets: * SERVER-3304 Error comparing Date and Timestamp * SERVER-3719 Total ordering over Longs and Doubles * SERVER-7804 CodeWScope comparisons are broken * SERVER-16632 Change WiredTiger index key format Changes to the comparison function for aggregation will be handled separately as SERVER-16708.
* SERVER-13264 Move Apache-licensed files to AGPLIan Whalen2014-05-161-9/+21
| | | | Also update generators.
* SERVER-9750 Fix BSONObj::toString handling of empty arraysAndrew Morrow2013-05-221-0/+30