Eliot Horowitz
6ac50f8e9e
fix BSONElementCmpWithoutField and therefore BSONElementSet
2010-02-27 21:53:28 -05:00
Mathias Stearn
56bbdda127
Fix GENOID
2010-02-26 22:40:50 -05:00
Mathias Stearn
5bc4788ff4
Lower size for BSON literal macro to 64
2010-02-26 22:40:50 -05:00
Eliot Horowitz
f08ba724c3
checkpoint on $near op
2010-02-25 16:24:34 -05:00
Aaron
3f1befcda1
SERVER-252 checkpoint
2010-02-23 12:49:22 -08:00
Eliot Horowitz
6adaeeaa85
BSONSizeTracker - tracks how big actual bson objects created with a builder are
...
then can correctly size buffers from the beginning
using this is index creation, so when doing external sort, we have a more accurate memory estimate
fixes SERVER-651
2010-02-20 16:20:33 -05:00
Eliot Horowitz
d1e3572f45
re-hydrate index values
2010-02-16 16:24:23 -05:00
Mathias Stearn
a733d58f95
fix logic error in appendIntOrLL
2010-02-02 21:34:21 -05:00
Eliot Horowitz
cddedd78af
Merge branch 'master' of git@github.com:mongodb/mongo
2010-02-02 15:49:38 -05:00
Aaron
727e7201f7
Add boolean version of append()
2010-02-02 12:38:11 -08:00
Eliot Horowitz
ef206c16b2
BSONObjBuilder::appendIntOrLL - for admin/reporting sanity
2010-02-01 13:56:27 -05:00
Eliot Horowitz
813f5d6f28
Merge branch 'master' of git@github.com:mongodb/mongo
2010-01-28 17:31:19 -05:00
Mathias Stearn
58e7807a9b
size_t <-> int changes to fix win64 warnings
2010-01-28 17:33:33 -05:00
Eliot Horowitz
2c3e16caa3
isABSONObj for fast checking for Object/Array
2010-01-28 17:30:58 -05:00
Mathias Stearn
deb05df864
BSONObjBuilder::asTempObj() for peeking at state
2010-01-28 14:40:45 -05:00
Dwight
03abb654fb
eliminate findElement - use getField() instead
2010-01-28 13:41:51 -05:00
Eliot Horowitz
81001819be
better debugging for invalid objects
2010-01-26 10:03:30 -05:00
Aaron
8cfc0ef306
output large bindata types correctly
2010-01-25 15:45:29 -08:00
Eliot Horowitz
14a0217520
jsonString supports timestamp
2010-01-19 10:16:45 -05:00
Eliot Horowitz
6830dd0dd0
BSONObj::okForStorage - just checks for $ and . for
2010-01-16 11:08:32 -05:00
Mathias Stearn
30403cdeb5
Use indexes for regexes with escape chars SERVER-522
2010-01-14 23:24:22 -05:00
Eliot Horowitz
c9de787f17
basics os array element matching done SERVER-377 - doesn't work with query optimizer yet
2009-12-31 14:04:44 -05:00
Eliot Horowitz
0ab8149a8e
uassert/massert take error code SERVER-112
2009-12-28 16:43:43 -05:00
Eliot Horowitz
5d153aaee0
undefined should be false
2009-12-28 13:09:34 -05:00
Dwight
62522b905b
new killOp(opnumber)
2009-12-22 15:22:37 -05:00
Eliot Horowitz
a71ff07701
BSONObjIteratorSorted - sorted iterator for bson obj that is sorted by field name
2009-12-18 01:50:43 -05:00
Eliot Horowitz
cb67dbc196
make getObjectid const SERVER-491
2009-12-16 13:41:01 -05:00
Mathias Stearn
eba078d053
Get rid of compareValues
2009-12-14 17:06:29 -05:00
Eliot Horowitz
98d4235cd7
better error messages
2009-12-11 13:50:16 -05:00
Eliot Horowitz
4119148e97
almost all operators done on recursive update version
2009-12-10 15:59:09 -05:00
Mathias Stearn
4987213af9
More sane version of extractFieldsDotted (not used anywhere yet)
2009-12-09 13:19:18 -05:00
Mathias Stearn
dcf3a10eea
Start using Date_t. Can anyone think of a better name?
2009-12-09 12:00:17 -05:00
Eliot Horowitz
aaf901fe6e
BSONObj::isValid makes sure objects are less than 8mb
2009-11-30 10:01:59 -05:00
Eliot Horowitz
7024b54491
make jstOID a simple type and fix field filter and findOne
2009-11-25 14:51:40 -05:00
Mathias Stearn
498d87fe5b
OID::newState to generate fresh "machine" bits
2009-11-23 11:33:27 -05:00
Dwight
37540835ac
compile visual studio
2009-11-16 15:55:03 -05:00
Eliot Horowitz
ca785a0400
BDONObjBuilder::apendAsNumber
...
better fix for SERVER-423
2009-11-13 21:07:15 -05:00
Mathias Stearn
44498641ea
BSON_ARRAY macro
2009-11-05 13:34:14 -05:00
Mathias Stearn
e863bb68d6
BSONArray class
2009-11-05 13:34:14 -05:00
Mathias Stearn
1ce5f2707b
BSONArrayBuilder class
2009-11-05 13:34:14 -05:00
Mathias Stearn
edd9f57e7f
BSONObjBuilder::numStr optimization
2009-11-05 13:34:14 -05:00
Eliot Horowitz
92d2689f1f
wrap( char * newName )
2009-11-04 14:52:01 -05:00
Mathias Stearn
9a81525018
Add assert to prevent calling appendAs with EOO
2009-11-03 16:39:55 -05:00
Mathias Stearn
1acf77ce0c
Add nested-dotted converters for BSONObj
2009-11-02 13:32:20 -05:00
Mathias Stearn
d27c8505ea
all client files now marked as Apache 2.0. SERVER-329 .
2009-10-27 15:59:37 -04:00
Mathias Stearn
8190d8db53
Support {:'foo', :'bar'} syntax in queries. SERVER-275
2009-10-19 14:30:46 -04:00
Eliot Horowitz
4c2eb48f9f
BSONObj operator==
2009-10-18 21:12:57 -04:00
Eliot Horowitz
117a9b68f9
some prep work for comparing dotted field names. can't use strcmp like we used to since don't quite match
2009-10-16 23:41:21 -04:00
Mathias Stearn
326f612a98
un-overload appendTimeT to support MSVC
2009-10-15 15:23:53 -04:00
Mathias Stearn
8037dc89bf
Modify OID definition
2009-10-15 14:08:40 -04:00