1. 19 Aug, 2013 2 commits
    • antirez's avatar
      Fix comments for correctness in zunionInterGenericCommand(). · d9bf918d
      antirez authored
      Related to issue #1240.
      d9bf918d
    • antirez's avatar
      Properly init/release iterators in zunionInterGenericCommand(). · bf3932ed
      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.
      bf3932ed
  2. 19 Jan, 2013 1 commit
  3. 22 Nov, 2012 1 commit
  4. 08 Nov, 2012 1 commit
  5. 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
  6. 24 Apr, 2012 1 commit
  7. 22 Feb, 2012 1 commit
  8. 21 Feb, 2012 1 commit
  9. 16 Jan, 2012 1 commit
  10. 11 Jan, 2012 1 commit
  11. 23 Dec, 2011 1 commit
  12. 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
  13. 18 Dec, 2011 1 commit
  14. 14 Nov, 2011 1 commit
  15. 08 Nov, 2011 1 commit
  16. 23 Oct, 2011 1 commit
  17. 04 Oct, 2011 1 commit
  18. 03 Oct, 2011 2 commits
  19. 31 May, 2011 2 commits
  20. 24 May, 2011 1 commit
  21. 19 May, 2011 2 commits
  22. 15 May, 2011 2 commits
  23. 04 May, 2011 1 commit
  24. 28 Apr, 2011 1 commit
  25. 06 Apr, 2011 2 commits
  26. 21 Mar, 2011 1 commit
  27. 14 Mar, 2011 2 commits
  28. 11 Mar, 2011 2 commits
  29. 10 Mar, 2011 4 commits