0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
Commit Graph

61 Commits

Author SHA1 Message Date
Eliot Horowitz
03404026b9 external srot for BSONObj and DiskLoc SERVER-291 2009-09-16 15:26:18 -04:00
Eliot Horowitz
0c0a3893e4 option to appendOID to gen _id 2009-09-15 14:50:17 -04:00
Eliot Horowitz
0cb4b01795 fix SERVER-282 - BSONObj::extractFields 2009-09-09 12:25:02 -04:00
Eliot Horowitz
927078af78 normalize sort order - put null first 2009-09-09 11:51:23 -04:00
Eliot Horowitz
4e225bb303 some tests for SERVER-282 2009-09-09 09:48:37 -04:00
Eliot Horowitz
af27a6594d append(Min|Max)ForType - so that range queries can be made smarter SERVER-177 2009-08-10 17:08:43 -04:00
Eliot Horowitz
004cd26dee fix appending BSONElement via << 2009-06-13 23:30:03 -04:00
Eliot Horowitz
6b1d43b3b1 finish SERVER-101 move BSONObjIterator::_more to BSONObjIterator::more 2009-06-09 12:32:04 -04:00
Eliot Horowitz
00df88c21d moved BSONObjIterator::more to BSONObjectIteratore::moreWEOO()
added _more temporarily
SERVER-101
2009-06-09 11:43:04 -04:00
Aaron
b7182b610a reset shared database after each test suite MINOR 2009-05-12 16:37:23 -04:00
Aaron
5b14118413 handle nan and inf double values in comparison 2009-04-07 17:58:25 -04:00
Aaron
8cd20d5ebb Add SIZE label 2009-03-27 13:31:13 -04:00
Aaron
e5a43008fd Build a subobject without recopying the contents 2009-03-25 18:24:22 -04:00
Aaron
18680997e8 Initialize BSONElement() with correct totalSize 2009-03-24 14:32:13 -04:00
Aaron
5a276ef621 Replace emptyObj with BSONObj() 2009-03-19 16:23:04 -04:00
Aaron
9d792eb0c5 Rename CurrentTime to Timestamp, don't change type on insert 2009-02-27 18:14:45 -05:00
Aaron
63e5764fe2 Add BSONElementManipulator and CurrentTime type 2009-02-27 17:18:56 -05:00
Aaron
8ccde5ae02 woCompare consider object length 2009-02-26 11:20:19 -05:00
Aaron
28d9cdb43b Fix woSortOrder 2009-02-24 18:53:34 -05:00
Aaron
593bf1f126 virtual dtors == good 2009-02-18 13:42:32 -05:00
Aaron
e66877f86a Remove logging 2009-02-10 11:24:10 -05:00
Aaron
ea431a83dc Make labeled subobj specs easier in c++. Now you can do BSON( "a" << GT << 4 << LTE << 22.3 << NE << "foo" ) 2009-02-10 11:21:13 -05:00
Dwight
8cb17548c2 bsonobjbuilder cleanup 2009-02-09 15:38:26 -05:00
Dwight
147948c7b3 doneAndDecouple() -> obj() 2009-02-09 13:04:32 -05:00
Aaron
b47b8b6829 Make sure object w/ undefined elt is valid 2009-02-03 13:27:46 -05:00
Aaron
f4d6c7fec1 Undefined element can appear anywhere in object 2009-02-03 13:19:45 -05:00
Aaron
0f586a5a11 Add negative element size test 2009-01-21 10:58:53 -05:00
Aaron
75c6ef332d Try a short object too 2009-01-18 13:15:44 -05:00
Aaron
aadb251731 Patch some more holes in BSON validation 2009-01-18 13:11:43 -05:00
Aaron
9114640a56 Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2009-01-17 09:12:43 -05:00
Aaron
204da5d094 Add more interesting fuzz tests, move json tests into separate file 2009-01-17 08:57:27 -05:00
Eliot Horowitz
1f27383fc2 oid parsing, slight better random 2009-01-17 00:20:47 -05:00
Aaron
cd8f315538 Just use a char 2009-01-16 16:51:06 -05:00
Aaron
980ce5a396 Add tests for BSON validating randomized bitstreams 2009-01-16 16:40:46 -05:00
Aaron
1c2b23bb0f Merge branch 'master' of ssh://aaron@git.10gen.com/data/gitroot/p 2009-01-16 15:15:33 -05:00
Aaron
1524c3e44b Enhance BSONObj::validate() 2009-01-16 15:13:46 -05:00
Eliot Horowitz
004db2d6fe incorrect implementation of OID 2009-01-16 14:21:46 -05:00
Aaron
261a467aa5 Replaced our #defined cout with mongo::out() 2009-01-15 11:26:38 -05:00
Aaron
90d45238aa Indent all lines within namespaces one level 2009-01-15 10:17:11 -05:00
Aaron
248a6dd8de Replace tab indentation with spaces 2009-01-14 17:17:24 -05:00
Aaron
21a13b1336 NEW pdfile # : 4.4; Support compound directions with compound indexes 2009-01-14 13:56:52 -05:00
Aaron
f2bbe89666 Limit regex options, only use Dbref() in TenGen mode 2009-01-13 14:27:59 -05:00
Aaron
49043c49d6 Check syntactically reserved field names specifically 2009-01-12 11:51:20 -05:00
Aaron
f1a538c7c8 Don't allow field names starting with $, added some tests 2009-01-08 15:21:16 -05:00
Aaron
959598db78 Fix my dumb test 2009-01-07 18:21:03 -05:00
Aaron
df3e0eb486 Added token parse failure test 2009-01-07 10:35:17 -05:00
Aaron
dcb974a59f Add regex escaping test 2009-01-06 14:03:52 -05:00
Aaron
9c4278f3ff Fix up regexp parsing 2009-01-06 13:54:19 -05:00
Aaron
dacc872ba2 Enhance json parser 2009-01-06 13:02:09 -05:00
Aaron
f0b6cf77b5 Actually handle utf8 correctly 2009-01-02 10:57:33 -05:00