Commit Graph

58 Commits

Author SHA1 Message Date
Eliot Horowitz
c9ed60974d fix upsert for DBRef SERVER-627 2010-02-11 11:36:08 -05:00
Dwight
397e511e3a check for null 2010-02-04 15:46:11 -05:00
Dwight
92e756eabc background index building 2010-02-04 14:25:49 -05:00
Dwight
b9be275c37 make a couple vars loop invariant for multi updates, and thus be a bit faster for that case 2010-02-03 17:31:52 -05:00
Eliot Horowitz
556c5a6d7d $addToSet mostly working SERVER-176 2010-01-26 17:29:06 -05:00
Eliot Horowitz
10e1711a0e fix win warning MINOR 2010-01-26 12:19:40 -05:00
Eliot Horowitz
47b67b74b4 fix $inc with doubles 2010-01-26 11:54:45 -05:00
Eliot Horowitz
969f8dfeda fix some update issues 2010-01-25 23:26:42 -05:00
Eliot Horowitz
0e7d5c6d01 refactor update so Mod and ModSet are re-usable. design is clean - still more cleaning to be done and some speed checking
single updates are 5% slower, multi-updates are 2.5x faster
2010-01-25 17:23:37 -05:00
Eliot Horowitz
ead28f59e2 fix $unset combined with other modifier bug 2010-01-21 23:26:46 -05:00
Eliot Horowitz
0c814f1af9 correcting where const gets removed 2010-01-21 13:24:18 -05:00
Eliot Horowitz
3c527d8c43 ModSet cleaning 2010-01-21 12:29:18 -05:00
Eliot Horowitz
b617df5a1a $set doesn't convert from int to other types SERVER-555 2010-01-20 09:53:19 -05:00
Eliot Horowitz
53b5dae92e check for bad $set where set to an object with a . SERVER-261 2010-01-16 11:16:30 -05:00
Eliot Horowitz
d613425724 fix upset with x.y query and $mod SERVER-390 2010-01-16 10:25:32 -05:00
Eliot Horowitz
3f155f1bcb on $ mod make sure new object isn't too big SERVER-540 2010-01-13 14:57:44 -05:00
Eliot Horowitz
5f36804299 stop using stringstream for logging 2009-12-29 23:30:29 -05:00
Eliot Horowitz
fa8961c3e8 Exception classess need codes too SERVER-112 2009-12-28 17:06:07 -05:00
Eliot Horowitz
0ab8149a8e uassert/massert take error code SERVER-112 2009-12-28 16:43:43 -05:00
Eliot Horowitz
0a71e870ce fix multiple $inc/$push on same embedded object SERVER-333 2009-12-28 15:37:18 -05:00
Eliot Horowitz
e19c177dec fix $bit test 2009-12-24 13:11:10 -05:00
Eliot Horowitz
75c7d69277 comment 2009-12-23 15:59:47 -05:00
Dwight
69777ac3bc Merge branch 'master' of git@github.com:mongodb/mongo 2009-12-21 17:43:20 -05:00
Dwight
0e1575bd36 $atomic option on remove()
see
http://www.mongodb.org/display/DOCS/Removing
2009-12-21 17:43:06 -05:00
Eliot Horowitz
62a4aef8fd start work on bit operators SERVER-503
only ugly syntax works and not idempotent yet
2009-12-21 17:32:01 -05:00
Eliot Horowitz
a9ba76825e cleaning 2009-12-21 16:34:09 -05:00
Eliot Horowitz
da08edb63d tests and minor fixes for SERVER-181 and SERVER-273 2009-12-18 17:28:36 -05:00
Eliot Horowitz
e9257ac751 fix un-sorted update 2009-12-18 01:51:43 -05:00
Eliot Horowitz
63c52d08da cleaning 2009-12-16 23:34:43 -05:00
Eliot Horowitz
3e5d63dd63 spam 2009-12-16 23:29:49 -05:00
Eliot Horowitz
de3db911a0 when doing upsert, don't copy $ filters SERVER-492 2009-12-16 21:53:12 -05:00
Mathias Stearn
cb16e7c62b $unset support in update. SERVER-134 2009-12-11 16:02:53 -05:00
Eliot Horowitz
85799367e7 $pull uses a matcher now, so partial matches are supported
and things like { $pull : { a : { x : { $gt : 5 } } } }
SERVER-452
2009-12-11 12:33:16 -05:00
Eliot Horowitz
6504ce1766 some comments 2009-12-10 17:30:11 -05:00
Eliot Horowitz
03da5382fb removed old update code 2009-12-10 17:02:47 -05:00
Eliot Horowitz
341cd83dd1 finish + switch to simpler+cleaner new object from mod code 2009-12-10 16:38:47 -05:00
Eliot Horowitz
4119148e97 almost all operators done on recursive update version 2009-12-10 15:59:09 -05:00
Eliot Horowitz
9bf50a42e3 more update cleaning 2009-12-10 14:29:14 -05:00
Dwight
4390797b88 make query optimizer map thread-safe 2009-12-09 18:13:36 -05:00
Eliot Horowitz
719cf8940b windows compile 2009-12-08 17:11:50 -05:00
Eliot Horowitz
d672078581 update re-write almost done, faster and cleaner 2009-12-08 17:00:25 -05:00
Eliot Horowitz
03b5ae2078 some update refactoring so can test ModSet directly 2009-12-07 23:41:58 -05:00
Eliot Horowitz
39c29494c1 some update cleaning with indexes 2009-11-09 16:12:32 -05:00
Dwight
d7a8eb644d compile windows 2009-11-03 09:15:45 -05:00
Mathias Stearn
d7c527d437 pull EmbeddedBuilder to its own file 2009-11-02 13:32:20 -05:00
Eliot Horowitz
d79c6006e4 fix multi-update and modding indexed field SERVER-268 SERVER-108 2009-11-02 12:25:51 -05:00
Eliot Horowitz
a782eb24c3 get rid of deep on Cursor::getsetdup 2009-11-02 10:47:29 -05:00
Eliot Horowitz
8ca8a7b1a7 multi-update with multi-key SERVER-365 2009-11-02 10:40:19 -05:00
Eliot Horowitz
30185da24a fix multi-update where objects move 2009-10-30 15:51:23 -04:00
Eliot Horowitz
8fea4b6e73 fix for old boost version MINOR 2009-10-26 17:26:38 -04:00