1. 27 Aug, 2014 1 commit
  2. 22 Jul, 2014 2 commits
    • antirez's avatar
      098bb977
    • antirez's avatar
      ZUNIONSTORE reimplemented for speed. · 316e1db9
      antirez authored
      The user @kjmph provided excellent ideas to improve speed of ZUNIONSTORE
      (in certain cases by many order of magnitude), together with an
      implementation of the ideas.
      
      While the ideas were sounding, the implementation could be improved both
      in terms of speed and clearness, so that's my attempt at reimplementing
      the speedup proposed, trying to improve by directly using just a
      dictionary with an embedded score inside, and reusing the single-pass
      aggregate + order-later approach.
      
      Note that you can't apply this commit without applying the previous
      commit in this branch that adds a double in the dictEntry value union.
      
      Issue #1786.
      316e1db9
  3. 26 Jun, 2014 1 commit
  4. 06 Jun, 2014 1 commit
  5. 18 Apr, 2014 4 commits
  6. 16 Apr, 2014 3 commits
  7. 05 Dec, 2013 1 commit
  8. 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
  9. 29 Oct, 2013 2 commits
  10. 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
  11. 29 Jan, 2013 1 commit
  12. 28 Jan, 2013 2 commits
  13. 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
  14. 22 Nov, 2012 1 commit
  15. 08 Nov, 2012 1 commit
  16. 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
  17. 24 Apr, 2012 1 commit
  18. 22 Feb, 2012 1 commit
  19. 21 Feb, 2012 1 commit
  20. 16 Jan, 2012 1 commit
  21. 11 Jan, 2012 1 commit
  22. 23 Dec, 2011 1 commit
  23. 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
  24. 18 Dec, 2011 1 commit
  25. 14 Nov, 2011 1 commit
  26. 08 Nov, 2011 1 commit
  27. 23 Oct, 2011 1 commit
  28. 04 Oct, 2011 1 commit
  29. 03 Oct, 2011 2 commits
  30. 31 May, 2011 1 commit