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

163 Commits

Author SHA1 Message Date
Aaron
f5e4fe8cd6 Key match checkpoint 2009-03-02 16:03:48 -05:00
Aaron
dad75855e8 Add KeyValJSMatcher 2009-03-02 11:31:13 -05:00
Eliot Horowitz
c6a4f25e16 some timestamp helpers 2009-02-28 18:44:31 -05: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
Dwight
5a261ed678 new shardkey implementation (first pass) 2009-02-27 11:04:36 -05:00
Dwight
7225f8d37b Merge branch 'master' of git@github.com:mongodb/mongo
Conflicts:

	s/shard.cpp
	s/shardkey.cpp
	s/shardkey.h
2009-02-26 12:08:25 -05:00
Dwight
27b8b36c99 shardkey partial 2009-02-26 12:02:43 -05:00
Aaron
8ccde5ae02 woCompare consider object length 2009-02-26 11:20:19 -05:00
Aaron
bcb1b24bd6 Remove dead code 2009-02-25 15:31:38 -05:00
Aaron
28d9cdb43b Fix woSortOrder 2009-02-24 18:53:34 -05:00
Eliot Horowitz
46987b2978 BSONObj.woSortOrder - compare 2 objects with a sort key 2009-02-24 17:09:46 -05:00
Aaron
13b0d2c1cf Index objects even if don't have a field from index spec 2009-02-23 17:26:36 -05:00
Aaron
c326d4a508 Can pick index with more key specificity than required by sort / find spec 2009-02-11 15:37:51 -05:00
Aaron
72eb0d5072 Just get rid of IN label 2009-02-10 13:16:34 -05:00
Dwight
015bbe7316 better name 2009-02-10 12:57:06 -05:00
Dwight
27729042be compile windows 2009-02-10 12:52:41 -05:00
Dwight
3f143e4e64 elim compile warning 2009-02-10 12:40:17 -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
f4d6c7fec1 Undefined element can appear anywhere in object 2009-02-03 13:19:45 -05:00
Eliot Horowitz
9bcacf16c0 pragma pack changes for solaris
slight change this will break other platforms, will test
2009-02-01 22:21:32 -05:00
Dwight
fcb6834a60 add _id when missing on an insert
OID generation by the server a little better
OID str form output straigth byte order now
2009-01-30 18:18:38 -05:00
Aaron
5bd2b8bb72 Don't assume referenced object exists 2009-01-25 22:25:01 -05:00
Eliot Horowitz
55f06f722d element stream 2009-01-25 19:56:44 -05:00
dwight
7aba6a0e0f _id can be any type 2009-01-25 19:53:51 -05:00
dwight
4b534c7de4 change numeric toString -- doubles always end with ".<something>" now so you can tell if it is int or double
without the parenthetic expression thereafter
2009-01-24 17:35:25 -05:00
Aaron
4fd8be64c8 Fix dependency problem 2009-01-23 11:28:29 -05:00
Aaron
2722c2f472 Convert to const 2009-01-23 10:15:36 -05:00
Aaron
c777160f0f Fix simple match spec for encapsulating elements and numbers 2009-01-20 16:54:57 -05:00
Aaron
201734cfa7 Matcher only reject incompatible types if not numbers 2009-01-20 15:44:40 -05:00
Aaron
50ad828ec1 Better validation for element size 2009-01-20 13:04:18 -05:00
Aaron
45b5c44f41 Merge jsobj.h changes 2009-01-19 09:37:29 -05:00
Aaron
aadb251731 Patch some more holes in BSON validation 2009-01-18 13:11:43 -05:00
unknown
f412f99bee compile on windows 2009-01-18 11:53:33 -05:00
Eliot Horowitz
1f27383fc2 oid parsing, slight better random 2009-01-17 00:20:47 -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
3a533a9432 Add new BSONObj::hexDump() function 2009-01-16 10:21:23 -05:00
Aaron
e1f97b30c4 Partially unify sorted/non-sorted btree cursor creation code, fixes bug 1139 2009-01-16 09:55:36 -05:00
Aaron
7c7bd85c6d Add start / end key to explain, fix key extraction ordering 2009-01-15 13:04:25 -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
ad1f6b3cbd Put our code in 'mongo' namespace 2009-01-14 17:09:51 -05:00
Aaron
64cc93ac22 Merge jsobj.h changes 2009-01-14 14:24:34 -05:00
Aaron
21a13b1336 NEW pdfile # : 4.4; Support compound directions with compound indexes 2009-01-14 13:56:52 -05:00
Eliot Horowitz
a7862f5527 int vs. double 2009-01-14 09:57:53 -05:00