Commit Graph

74 Commits

Author SHA1 Message Date
Eliot Horowitz
5bf66857bc fix repl $inc issue SERVER-1161 2010-05-27 11:45:24 -04:00
Eliot Horowitz
e9ef03782c more aggressive about checking for index moves in multi-update SERVER-1060 2010-05-03 12:58:41 -04:00
Eliot Horowitz
839236d869 $ operator and $set can behave poorly with replication SERVER-1052 2010-04-26 15:25:08 -04:00
Eliot Horowitz
1bab750b19 fix array numberic sort order SERVER-833 2010-03-26 15:31:11 -04:00
Eliot Horowitz
bca88a8001 use .$ instead of .~ for SERVER-631 2010-03-09 21:24:36 -05:00
Eliot Horowitz
91f3fcf6df inc embedded repl fix SERVER-716 2010-03-08 23:33:10 -05:00
Eliot Horowitz
c276f6001b fix test and ~ impl a bit 2010-03-07 21:42:58 -05:00
Eliot Horowitz
d3da0d7bbc array match value mod update( {a.x : 5 } , { a.~.y ... } ) SERVER-631 2010-03-06 22:12:58 -05:00
Aaron
4461c46f3f SERVER-652 unset/array sets value to null, which makes more sense 2010-03-02 23:09:34 -08:00
Aaron
246109cc18 SERVER-652 simplify field name upper limit check, guard against setting string fields in arrays 2010-03-02 13:16:20 -08:00
Aaron
bbbe0aaf31 SERVER-652 process array elements in correct order 2010-03-02 12:29:54 -08:00
Aaron
df8fb47a4c SERVER-652 comment 2010-03-02 10:20:10 -08:00
Aaron
bccf8f4113 SERVER-652 basic array index unset support 2010-03-01 15:04:01 -08:00
Eliot Horowitz
b32a47826e $addToSet : { $each : ... } SERVER-628 2010-02-27 22:05:59 -05:00
Eliot Horowitz
0f88bb48d2 check that objects modified with $ operators are <= 4mb SERVER-654 2010-02-23 13:22:27 -05:00
Eliot Horowitz
a023fc861b fix upsert with addToSet SERVER-630 2010-02-12 14:43:27 -05:00
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