gregs
898e3ae4e7
return arrays if arrays given SERVER-3661
2011-09-29 12:45:09 -04:00
Eliot Horowitz
d790a3ec6d
change BSONObj::shallowEqual to binaryEqual
2011-08-16 14:19:44 -04:00
Eliot Horowitz
b1c8a8c3aa
remove spam
2011-08-03 09:07:43 -04:00
Aaron
c698874735
SERVER-3375 key generation fixes - backward breaking for v1 indexes
2011-07-31 08:51:41 -07:00
Spencer T Brody
8c11a51d62
Merge branch 'master' of github.com:mongodb/mongo into bug-csvFullStop
2011-07-01 16:00:18 -04:00
Spencer T Brody
e27fa36b4c
SERVER-2634: mongoimport imports the string "." as the number 0
2011-07-01 15:57:35 -04:00
dwight
7f37213fc9
bson package tweaking
2011-06-28 01:44:43 -04:00
dwight
fb4e554a99
missed on previous commit
2011-06-27 09:16:14 -04:00
Eliot Horowitz
bef400c02b
move lexNumCmp to util/stringutils.h
2011-06-25 23:24:44 -04:00
gregs
99c28cb998
errorcodes
2011-06-21 22:09:04 -04:00
Aaron
fcbfd0f54e
SERVER-3222 merge
2011-06-21 10:51:15 -07:00
Aaron
4de924a3d9
SERVER-3222 min and max for type cleaning and fixes
2011-06-21 10:51:14 -07:00
Mathias Stearn
03736f9567
Don't allow manual split-point with different field order SERVER-3080
2011-06-20 19:29:12 -04:00
Dwight
89581c108f
fix hint1.js and minkey for date which is now tricky as we support a couple different compare semantics for V0 and V1 indexes
2011-06-06 12:40:41 -04:00
dwight
bc9b23b14d
towards signed dates
2011-06-06 08:17:55 -04:00
dwight
93b67ef211
move some functions to header as we want bson to be runnable header only
2011-06-05 18:10:07 -04:00
Dwight
5133061a17
prep for signed dates
2011-06-03 14:01:41 -04:00
Dwight
e104e01f84
use memcmp, not strcmp for comparing BSON strings
2011-06-01 14:57:40 -04:00
dwight
600f2eef36
SERVER-2935 fix woEqual which wasnt equalling ints and doubles
2011-06-01 09:35:42 -04:00
dwight
16f7b4fe65
some bson methods should be inline and were not
2011-05-23 20:03:16 -04:00
dwight
f3cfb889da
check we are in writelock on optime::now. also tune it a bit
2011-05-14 20:16:24 -04:00
Kristina
08b057a79d
json support for undefined
2011-05-13 15:27:25 -04:00
gregs
e4c3ecd92c
each location is a unique snowflake - don't merge in returned set
2011-05-05 11:28:42 -04:00
Mathias Stearn
33f74634e4
Make numStr safe in static init SERVER-2697
2011-04-04 12:05:43 -04:00
Mathias Stearn
244b162111
Use intrusive_ptr rather than shared_ptr for BSONObj
...
Advantages:
* Owned BSONObj now uses 1 heap allocation rather than 3
* sizeof(BSONObj) is now 16 rather than 24 (on 64 bit)
* perftest bson shows it to be much faster
Change in BSONObj constructor API for owned case to make sure old code gets
updated to allocate room for the ref count. Anyone using BSONObjBuilder doesn't
need to worry about this change.
2011-04-03 20:50:45 -04:00
gregs
f45587a30a
allow multiple locations to be nested in different subdocuments SERVER-838
2011-03-28 15:51:50 -04:00
Eliot Horowitz
a5afcff324
make getFieldDottedOrArray 2x faster
2011-01-31 00:12:04 -05:00
Eliot Horowitz
d782a78fc7
put Array check back but at 1M instead of 4k
2011-01-20 17:06:20 -05:00
Eliot Horowitz
c07259ad3f
don't limit size of Array
2011-01-20 17:05:26 -05:00
Eliot Horowitz
b828d21630
ran astyle SERVER-2304
2011-01-04 00:40:41 -05:00
Alberto Lerner
455f841fa7
explicit short sizeof assumption
2010-12-15 13:07:09 -05:00
dwight
4a5a00525b
refactor OID class a bit, cleanup, better id generation SERVER-2175
2010-12-05 20:56:51 -05:00
dwight
8b930cb852
strcpy_s change
2010-11-24 10:20:34 -05:00
Alberto Lerner
dce215638a
BSON( min << MINKEY << max << MAXKEY) is handy
2010-11-23 11:28:49 -05:00
Dwight
17a148278e
comment
2010-11-02 12:08:03 -04:00
Kristina Chodorow
7d3945a8be
fixes x.y.N skipping N's elements SERVER-1820
2010-09-21 13:54:23 -04:00
Mathias Stearn
0fe45dce90
Parse $nearSphere queries SERVER-1342
2010-09-02 20:12:37 -04:00
Eliot Horowitz
e3ff8becf3
sanity check for possible corruption
2010-08-22 16:32:14 -04:00
Alberto Lerner
c8ae18d4b4
change back header-only bson
2010-08-03 11:08:08 -04:00
Dwight
cafe5555c9
make bsondemo compile again with vs2010
2010-08-02 16:21:14 -04:00
Mathias Stearn
00679b9a2b
Test expect lowercase hex. May change them later.
2010-07-27 17:18:43 -04:00
Mathias Stearn
585b3797ff
use less stringstream in bson
2010-07-27 17:18:43 -04:00
Mathias Stearn
ce2bb7ee71
csv parsing issue SUPPORT-53
2010-07-22 21:13:52 -04:00
Alberto Lerner
9c33f219fb
SERVER-1272 Inline hot portion of BufBuild::grow()
2010-07-20 13:44:35 -04:00
Alberto Lerner
2b14da5f10
SERVER-1270 Elim c_str() /db
2010-07-20 12:39:35 -04:00
Alberto Lerner
27dde175e0
SERVER-1270 Hook StringData to BSONObjBuilder
2010-07-20 11:15:06 -04:00
dwight
c3b07d52ce
git????
2010-07-18 15:04:01 -04:00
Eliot Horowitz
867b9c16f1
use StringData in place rather than hacking
2010-07-18 11:14:32 -04:00
Mathias Stearn
4407f18829
extractFieldsDotted was unused and broken (done() vs obj()). use extractFields instead.
2010-07-14 14:34:44 -04:00
Mathias Stearn
0e5ed0a83e
more strlen(x) == 0 smashing
2010-06-29 20:07:09 -04:00