1. 05 Dec, 2013 1 commit
  2. 05 Nov, 2013 1 commit
    • antirez's avatar
      SCAN code refactored to parse cursor first. · 060d56e7
      antirez authored
      The previous implementation of SCAN parsed the cursor in the generic
      function implementing SCAN, SSCAN, HSCAN and ZSCAN.
      
      The actual higher-level command implementation only checked for empty
      keys and return ASAP in that case. The result was that inverting the
      arguments of, for instance, SSCAN for example and write:
      
          SSCAN 0 key
      
      Instead of
      
          SSCAN key 0
      
      Resulted into no error, since 0 is a non-existing key name very likely.
      Just the iterator returned no elements at all.
      
      In order to fix this issue the code was refactored to extract the
      function to parse the cursor and return the error. Every higher level
      command implementation now parses the cursor and later checks if the key
      exist or not.
      060d56e7
  3. 29 Oct, 2013 2 commits
  4. 19 Aug, 2013 2 commits
    • antirez's avatar
      Fix comments for correctness in zunionInterGenericCommand(). · 83685507
      antirez authored
      Related to issue #1240.
      83685507
    • antirez's avatar
      Properly init/release iterators in zunionInterGenericCommand(). · 3ad87c65
      antirez authored
      This commit does mainly two things:
      
      1) It fixes zunionInterGenericCommand() by removing mass-initialization
      of all the iterators used, so that we don't violate the unsafe iterator
      API of dictionaries. This fixes issue #1240.
      
      2) Since the zui* APIs required the allocator to be initialized in the
      zsetopsrc structure in order to use non-iterator related APIs, this
      commit fixes this strict requirement by accessing objects directly via
      the op->subject->ptr pointer we have to the object.
      3ad87c65
  5. 29 Jan, 2013 1 commit
  6. 28 Jan, 2013 2 commits
  7. 19 Jan, 2013 1 commit
    • guiquanz's avatar
      Fixed many typos. · 1caf0939
      guiquanz authored
      Conflicts fixed, mainly because 2.8 has no cluster support / files:
      	00-RELEASENOTES
      	src/cluster.c
      	src/crc16.c
      	src/redis-trib.rb
      	src/redis.h
      1caf0939
  8. 22 Nov, 2012 1 commit
  9. 08 Nov, 2012 1 commit
  10. 23 May, 2012 1 commit
    • antirez's avatar
      Fixed issue #516 (ZINTERSTORE mixing sets and zsets). · 4dada1b5
      antirez authored
      Weeks ago trying to fix an harmless GCC warning I introduced a bug in
      the ziplist-encoded implementations of sorted sets.
      
      The bug completely broke zuiNext() iterator, that is used in the
      ZINTERSTORE and ZUNIONSTORE implementation, so those two commands are no
      longer reliable starting from Redis version 2.4.12 and latest 2.6.0-RC
      releases.
      
      This commit fixes the problem and adds a regression test.
      4dada1b5
  11. 24 Apr, 2012 1 commit
  12. 22 Feb, 2012 1 commit
  13. 21 Feb, 2012 1 commit
  14. 16 Jan, 2012 1 commit
  15. 11 Jan, 2012 1 commit
  16. 23 Dec, 2011 1 commit
  17. 19 Dec, 2011 1 commit
    • BigCat's avatar
      Fix issue #247 : Accepting non-integer parameters when shouldn't · 706b32e0
      BigCat authored
      Using `getLongFromObjectOrReply` instead of `atoi` if possible.
      The following functions are modified.
      
      * lrangeCommand
      * ltrimCommand
      * lremCommand
      * lindexCommand
      * lsetCommand
      * zunionInterGenericCommand
      * genericZrangebyscoreCommand
      * sortCommand
      706b32e0
  18. 18 Dec, 2011 1 commit
  19. 14 Nov, 2011 1 commit
  20. 08 Nov, 2011 1 commit
  21. 23 Oct, 2011 1 commit
  22. 04 Oct, 2011 1 commit
  23. 03 Oct, 2011 2 commits
  24. 31 May, 2011 2 commits
  25. 24 May, 2011 1 commit
  26. 19 May, 2011 2 commits
  27. 15 May, 2011 2 commits
  28. 04 May, 2011 1 commit
  29. 28 Apr, 2011 1 commit
  30. 06 Apr, 2011 2 commits
  31. 21 Mar, 2011 1 commit
  32. 14 Mar, 2011 1 commit