Commit Graph

14 Commits

Author SHA1 Message Date
3a1ab86a35 Change getDoubleFromObject to fail on NaN.
Return an error when the resulting value is not a number (NaN). Fix
ZUNIONSTORE/ZINTERSTORE to clean up when a weight argument is not a
double value. Backport of 673e1fb7 to 2.0.0.
2010-07-29 23:10:53 +02:00
c6375e6a60 Fix ZUNIONSTORE/ZINTERSTORE to never store a NaN score.
When +inf and -inf are added, the result is NaN. We don't want NaN
scores in a sorted set, so agreed on the result of this operation being
zero. Backport of d9e28bcf to 2.0.0.
2010-07-29 23:08:28 +02:00
797c9ffb6b backport of patches that fix the behavior of LRANGE, LTRIM, ZRANGE, ZREVRANGE
and ZREMRANGEBYSCORE when an out of range negative end index is provided
original commits: 184d74, 4774a5, f483ce
2010-07-12 16:31:36 -04:00
61e4ff2f9c cas test doesn't belong in 2.0.0 2010-06-03 01:13:05 +02:00
bd29be7db5 tag test with sleep() as slow 2010-06-03 01:09:08 +02:00
55ebd6a213 tag more slow tests 2010-06-03 01:09:07 +02:00
f3f35ced13 scope res variable outside test 2010-06-03 01:09:07 +02:00
0319bd1e9f tags for existing tests 2010-06-03 01:09:07 +02:00
3c5b5e15d4 basic support to tag tests 2010-06-03 01:08:37 +02:00
c80ba69173 changed how server.tcl accepts options to support more directives without requiring more arguments to the proc 2010-06-03 01:08:37 +02:00
d1481e023a Fixed ZINCR Nan bugs leading to server crash and added tests 2010-05-28 12:26:26 +02:00
d6d3f92fb0 added regression for zipmap bug 2010-05-20 12:03:02 +02:00
5d373da96a ZUNION,ZINTER -> ZUNIONSTORE,ZINTERSTORE 2010-05-14 18:58:37 +02:00
ab72b4833d minor fixes to the new test suite, html doc updated 2010-05-14 18:48:33 +02:00