summaryrefslogtreecommitdiff
path: root/src/mongo/bson
Commit message (Collapse)AuthorAgeFilesLines
* SERVER-34396 Fail to compile if io manipulators like std::hex are passed to ↵Mathias Stearn2018-04-181-0/+8
| | | | | | | StringBuilder/str::stream This includes a partial revert of 80f409d1311eb8d20251d17be474aff382538b84 (SERVER-34307) to address this bug.
* SERVER-33951 Abort transactions when the pending writes pass 16MB worth of ↵Matthew Russotto2018-04-131-1/+1
| | | | write data
* SERVER-34307 replace invariant(false) with MONGO_UNREACHABLEBenety Goh2018-04-041-4/+4
|
* SERVER-34179 refactor isGenericArgumentBilly Donahue2018-04-021-1/+2
| | | | | | | | | Remove the static tables floating around at namespace scope. break CommandHelpers::isGenericArgument into command_generic_argument library so it doesn't have to be inline. Some callers depend on it but would have a circularity if they actually added db/commands to their LIBDEPS.
* SERVER-32144 Remove test coverage for replication protocol version 0Vesselina Ratcheva2018-03-131-0/+12
| | | | This reverts commit c5a4250a649ab0afb4ecdf227d4a0400f9e68786.
* SERVER-33847 create type aliases for BSONObj containers with binary ↵Kyle Suarez2018-03-133-1/+247
| | | | comparison semantics
* Revert "SERVER-32144 Remove test coverage for replication protocol version 0"Vesselina Ratcheva2018-03-091-12/+0
| | | | This reverts commit d05e04551b7e399a5554858de48541ae11988b10.
* SERVER-32144 Remove test coverage for replication protocol version 0Vesselina Ratcheva2018-03-091-0/+12
|
* SERVER-33065 CommandReplyBuilder and CommandInvocationBilly Donahue2018-03-061-0/+8
| | | | | | Revert "Revert "SERVER-33065 CommandReplyBuilder and CommandInvocation"" This reverts commit 74177edb35b6ce7594e4751051010ceade592484. Leave out the unintentional repl/ change this time.
* Revert "SERVER-33065 CommandReplyBuilder and CommandInvocation"Nick Zolnierz2018-03-051-8/+0
| | | | This reverts commit ad94e51e0dd40b0d0c38215a36caf75a4be48415.
* SERVER-33065 CommandReplyBuilder and CommandInvocationBilly Donahue2018-03-021-0/+8
| | | | | | | | | | | | remove publicRun from mr_test.cpp change explain to take OpMsgRequest private explain private allowsAfterClusterTime private supportsWriteConcern supportsReadConcern remove publicRun cluster_explain_cmd.cpp: do not inject "$db" field. let explain() exceptions escape update cluster distinct explain
* SERVER-33171: Add number and objectID parsing conversions to $convertNick Zolnierz2018-02-261-0/+21
|
* SERVER-32784 Move ExpressionConvert tests to separate file.Justin Seyster2018-02-201-1/+1
|
* SERVER-32784 Add $convert with typecast conversions.Justin Seyster2018-02-152-0/+44
|
* SERVER-32987 Move the contents of the 'uuid' library to be under 'base'Kaloian Manassiev2018-01-301-1/+0
|
* SERVER-32058 Rollback in-memory catalog changes on collMod abortGeert Bosch2018-01-221-0/+6
|
* SERVER-32646 CommandHelpersBilly Donahue2018-01-161-1/+1
|
* SERVER-31911 make UUID constructor privateGeert Bosch2018-01-051-7/+7
|
* SERVER-32302 Make mutablebson cache total field sizeMathias Stearn2018-01-042-54/+115
| | | | | This addresses the perf regression in update due to eagerly computing the field size in BSONElement's constructor.
* SERVER-32302 Use a table to compute the size of each BSONElementMathias Stearn2018-01-041-56/+69
|
* SERVER-32302 Compute BSONElement sizes eagerlyMathias Stearn2018-01-044-155/+32
|
* SERVER-32302 Introduce BSONObjStlIterator as a proper stl-style iteratorMathias Stearn2018-01-044-28/+97
|
* SERVER-32070 migrate some easy stdx::bind to lambdasBilly Donahue2017-12-041-1/+1
| | | | | | Work around GCC bug#67274 with explicit this-> syntax. This reverts commit 54db6356c47d7a639eae062818c3026561a64594. This reverts commit 19ced195b842d9521220f76b8dd7da8c929ad8ee.
* Revert "SERVER-32070 migrate some easy stdx::bind to lambdas"Kaloian Manassiev2017-12-011-1/+1
| | | | This reverts commit 7dc61c0f0c0160ad6cba831a0e12bef501ef3ad5.
* SERVER-32070 migrate some easy stdx::bind to lambdasBilly Donahue2017-12-011-1/+1
| | | | [branch stdx_bind_1]
* SERVER-31304: Refactor away SnapshotName.Daniel Gottlieb2017-11-211-0/+6
|
* SERVER-27814 Prints Timestamp consistently, changes toString(), and removes ↵Pavithra Vetriselvan2017-11-164-15/+33
| | | | toStringLong()
* SERVER-31894 Update system should not use mutablebson::Element ↵Tess Avitabile2017-11-153-2/+26
| | | | operator[](StringData name) for arrays
* SERVER-31629 Support putting unique codes directly into Status constructorsMathias Stearn2017-11-021-1/+1
|
* SERVER-31629 Replace ErrorCodes::fromInt() with ErrorCodes::Error()Mathias Stearn2017-11-021-1/+1
| | | | | No reason to have two ways to express the same thing, and we can't get rid of ErrorCodes::Error().
* SERVER-31622 Fix bad throwsMathias Stearn2017-11-021-2/+2
|
* SERVER-17414 Enable Warnings As Errors on Windows, and disable/fix warningsMark Benvenuto2017-10-201-1/+2
|
* SERVER-31026 Fix Windows zero-length array errorGeert Bosch2017-10-191-1/+1
|
* SERVER-31026 Properly format UUIDs in BSONElement::toStringGeert Bosch2017-10-193-10/+124
|
* SERVER-30532 Remove IDL-generated parser for the findAndModify resultKaloian Manassiev2017-10-171-5/+0
| | | | | Instead only use a generator, but not parser. Also adds lastErrorObject.upserted to the findAndModify retry result.
* SERVER-30399 Add caching for $lookup non-correlated sub-pipeline prefixBernard Gorman2017-09-241-1/+1
|
* SERVER-30176: Extend the JSON Schema parser to handle logical restriction ↵Nick Zolnierz2017-09-1913-266/+483
| | | | keywords (enum only)
* SERVER-29961 Add OR BSON helper and use it for change streams.Siyuan Zhou2017-08-242-37/+0
|
* SERVER-30720 Integer overflow in SharedBuffer::grow_reallocateMartin Neupauer2017-08-181-5/+6
| | | | Move the length check before the while loop.
* SERVER-30580 Always use errorString() when streaming an ErrorCode::ErrorMathias Stearn2017-08-161-0/+4
|
* SERVER-30580 Eliminate UserException and MsgAssertionException typesMathias Stearn2017-08-163-4/+4
| | | | All users were converted to just use AssertionException.
* SERVER-30189 Reduce calls to allocator for large $in expressionsTess Avitabile2017-08-094-4/+25
|
* SERVER-13362 Remove BSONElement::chk(bool) overloadBen Shteinfeld2017-08-071-11/+6
|
* SERVER-13362 Change BSONElement::chk() to take a BSONType and use uassertBen Shteinfeld2017-08-041-4/+4
|
* SERVER-30309: Stage changes for supportsRecoverToStableTimestampDaniel Gottlieb2017-08-022-2/+2
|
* SERVER-30185 Call setInitialDataTimestamp at the beginning and end of ↵Judah Schvimer2017-08-012-0/+5
| | | | initial sync
* SERVER-29814 Move BSONObj::MatchType/BSONElement::getGtLtOp() to matcherJames Wahlin2017-07-215-95/+0
|
* SERVER-29583: Create $_internalSchemaMinProperties and ↵Anne Lim2017-07-205-55/+0
| | | | $_internalSchemaMaxProperties MatchExpressions
* SERVER-29583: Create $_internalSchemaMinProperties and ↵Anne Lim2017-07-195-0/+55
| | | | $_internalSchemaMaxProperties MatchExpressions
* SERVER-29571 Parse a subset of $jsonSchema into a MatchExpression.David Storch2017-07-171-0/+12
| | | | | | | | Adds support for $jsonSchema containing only the following JSON Schema keywords: - type - properties - maximum