Commit Graph

25 Commits

Author SHA1 Message Date
dwight
613bb7ba4a two step key addition to indexes 2011-09-12 23:22:10 -04:00
dwight
210e12a17a SERVER-3760 fix memcmp to now potentially go to far on one of the input arrays.
in addition fix a case where compare order of bindata types, when subtype and len, were in consistent
with BSONObj's compare.  this ordering is somewhat arbitrary but must be consistent.
2011-09-06 11:58:17 -04:00
Mathias Stearn
56122624cf compile 2011-08-31 13:12:24 -04:00
Dwight
cba5d568e9 SERVER-3717 last commit wasn't quite right :-( 2011-08-31 12:48:03 -04:00
Dwight
c8f4fdb1de try to fix compile on some platforms 2011-08-31 11:38:09 -04:00
Dwight
1c5b750fdc SERVER-3717
fix check if value to large to represent as a long in KeyV1
for some reason was failing on win32. not sure why. visual studio 2008 issue?
regardless, the old implementation was a bad idea when going from machine/build
to machine as then the results could vary if one was compiled with strict
floating point and the other non-strict.
2011-08-31 11:26:44 -04:00
Dwight
9fd22cb86d SERVER-3719 long long values in v1 indexes were losing precision 2011-08-30 11:17:39 -04:00
Eliot Horowitz
cbba880bd4 fix double comparision of -0 and 0 for v1 indexes SERVER-3682 2011-08-29 11:41:16 -04:00
dwight
febe8962d0 safety - may prevent a possible seg fault if datafiles are corrupt not sure if that can happen but good to have defensively regardless 2011-08-23 15:53:44 -04:00
dwight
53a69ce6c9 SERVER-3505 bindata in v1 indexes > 32 bytes fix 2011-08-04 19:01:49 -04:00
dwight
5961cc9ddc SERVER-984 sorting of infinity 2011-07-05 11:17:05 -04:00
Dwight
d185863ada oops dbhash.js 2011-06-28 14:08:33 -04:00
dwight
e39dfdf08b an index v1 buf fix and a bunch of cleaning/safety 2011-06-27 14:11:46 -04:00
dwight
69186d293c prep for changes to comparisons with new index format 2011-06-05 18:12:43 -04:00
dwight
600f2eef36 SERVER-2935 fix woEqual which wasnt equalling ints and doubles 2011-06-01 09:35:42 -04:00
dwight
e7b06caec2 make Key::woEqual about 50% faster 2011-05-14 22:30:18 -04:00
dwight
871d923401 StackBufBuilder 2011-05-10 12:40:01 -04:00
dwight
3776dc77f1 eliminate null char from string Keys to save a little space 2011-05-08 22:41:13 -04:00
dwight
4d72b66db3 towards SERVER-1300 allow zeros in utf8 strings 2011-05-08 22:13:15 -04:00
Dwight
1bce317d2c add BinData to the Key class 2011-05-05 14:09:07 -04:00
Dwight
ede44430d1 compact index keys fix encoding for traditional encoding of complex ones 2011-04-20 12:07:08 -04:00
dwight
ac86734a43 minor formatting 2011-04-20 09:25:59 -04:00
Dwight
4f2f00bba0 indexkey support strings with zeros. more work to do 2011-04-19 13:36:21 -04:00
Dwight
bab2182780 index key class KeyV1 close to done 2011-04-12 17:09:08 -04:00
Dwight
7c986e6432 indexkey work 2011-04-11 18:21:48 -04:00