Commit Graph

6 Commits

Author SHA1 Message Date
Mathias Stearn
4a8f5612ac Better error messages for type errors in agg $expressions 2013-01-17 17:01:24 -05:00
Mathias Stearn
68f6dcd2c3 SERVER-6649 have agg helper throw exceptions and fix tests accordingly
Most of this was done by Samantha Ritter. Thanks!
2012-12-18 15:34:56 -05:00
Mathias Stearn
8479fc3208 SERVER-6239 support $add and $subtract with dates
Date - Date : NumberLong(Milliseconds between times)
Num  - Date : Error
Date - Num  : Date(original - Num as milliseconds)

Date + Date : Error
Num  + Date : Date(with num treated as millis)
Date + Num  : Same as Num+Date
2012-12-14 19:20:12 -05:00
Matt Dannenberg
d3b12c40a9 SERVER-6570 disallow strings in $add in aggro
also started SERVER-6166 (ints overflowing to long in math) by doing the add portion
redo testall.js p20 when SERVER-6195 is done
2012-07-27 14:30:40 -04:00
Matt Dannenberg
fe6b87756b SERVER-6270 prevent segfault on large aggro result
to check if its getting too large, the result array must be copied later
as a result a few tests needed minor alterations
2012-07-10 17:14:57 -04:00
Matt Dannenberg
c712d74fe4 SERVER-6240 disable math with dates aggro 2012-07-03 18:52:38 -04:00