Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SERVER-29762 Look up arrays by index during update. | Justin Seyster | 2017-07-06 | 1 | -0/+16 |
| | | | | | | | | | | | | | | | | | | | This patch moves getPositionalPathSpecification() from its location in document_path_support.h to stringutils.h, where it is renamed to parseUnsignedBase10Integer(). This function should now be what all code uses that needs to use a path component to look up an element in an array. There are two problems with trying to look up an array element by string, which this patch addresses (for one particular case). The first is that it will fail if the path component has leading zeros (e.g. "a.01.b"). The second problem is that mutable BSON does not maintain the invariant that array elements have their index as their field name throughout the entire lifetime of the mutable document. Array lookups by string fail during the times that this invariant does not hold (notably, after a mutable array has been extended in length). | ||||
* | SERVER-14596 fix variable name | Matt Cotter | 2016-09-08 | 1 | -6/+6 |
| | |||||
* | SERVER-14596 move free function escape out of bsonelement | Matt Cotter | 2016-09-08 | 1 | -0/+43 |
| | |||||
* | SERVER-18579: Clang-Format - reformat code, no comment reflow | Mark Benvenuto | 2015-06-20 | 1 | -117/+121 |
| | |||||
* | SERVER-16940 Change pass-by-const-ref of StringData to pass-by-value | Tyler Brock | 2015-02-06 | 1 | -3/+3 |
| | |||||
* | SERVER-13256 Remove pch.h | Andrew Morrow | 2015-01-15 | 1 | -3/+0 |
| | |||||
* | SERVER-13256 Add usings and qualifications for names from namespace std | Andrew Morrow | 2015-01-15 | 1 | -0/+3 |
| | |||||
* | SERVER-13256 Prohibit new uses of pch.h | Andrew Morrow | 2015-01-05 | 1 | -0/+3 |
| | |||||
* | SERVER-13264 Move Apache-licensed files to AGPL | Ian Whalen | 2014-05-16 | 1 | -9/+21 |
| | | | | Also update generators. | ||||
* | SERVER-12461 Ensure LexNumCmp::cmp only returns 1, -1 or 0 | Michael Hudson-Doyle | 2014-05-12 | 1 | -1/+1 |
| | | | | | | | | | | | | | | strncmp's documentation says: It returns an integer less than, equal to, or greater than zero if s1 is found, respectively, to be less than, to match, or be greater than s2. LexNumCmp::cmp is tested as returning only -1, 1 or 0 but returns the return value of strncmp directly. This changes it to clamp the return value to -1, 1 or 0. Signed-off-by: Benety Goh <benety@mongodb.com> | ||||
* | Clean up #includes to conform with coding standard | Dan Pasette | 2013-07-24 | 1 | -2/+2 |
| | |||||
* | SERVER-7984 config upgrade from v3 to v4 | Greg Studer | 2012-12-21 | 1 | -0/+14 |
| | |||||
* | remove isNumber and stringToNum | Eliot Horowitz | 2012-12-18 | 1 | -4/+4 |
| | |||||
* | SERVER-7866 - fix StringData substring and LexNumCmp | Eliot Horowitz | 2012-12-14 | 1 | -8/+6 |
| | |||||
* | SERVER-7886 LexNumCmp uses StringData | Eliot Horowitz | 2012-12-12 | 1 | -28/+32 |
| | |||||
* | spacing | Eliot Horowitz | 2012-12-12 | 1 | -21/+17 |
| | |||||
* | fix licenses these should be apache | Dwight | 2012-09-17 | 1 | -15/+14 |
| | |||||
* | move LexNumCmp implementation out of header | Aaron | 2012-03-06 | 1 | -0/+110 |
| | |||||
* | bulk move of code to src/ SERVER-4551 | Eliot Horowitz | 2011-12-24 | 1 | -0/+44 |