1. 14 Sep, 2015 1 commit
    • antirez's avatar
      MOVE now can move TTL metadata as well. · 37843be9
      antirez authored
      MOVE was not able to move the TTL: when a key was moved into a different
      database number, it became persistent like if PERSIST was used.
      
      In some incredible way (I guess almost nobody uses Redis MOVE) this bug
      remained unnoticed inside Redis internals for many years.
      Finally Andy Grunwald discovered it and opened an issue.
      
      This commit fixes the bug and adds a regression test.
      
      Close #2765.
      37843be9
  2. 06 Oct, 2014 2 commits
  3. 27 Aug, 2014 2 commits
    • Matt Stancliff's avatar
      Reject MOVE to non-integer DBs · 25a4699a
      Matt Stancliff authored
      Previously, "MOVE key somestring" would move the key to
      DB 0 which is just unexpected and wrong.
      String as DB == error.
      
      Test added too.
      
      Modified by @antirez in order to use the getLongLongFromObject() API
      instead of strtol().
      
      Fixes #1428
      25a4699a
    • Jan-Erik Rediger's avatar
      Handle large getrange requests · 07b2779b
      Jan-Erik Rediger authored
      Previously the end was casted to a smaller type
      which resulted in a wrong check and failed
      with values larger than handled by unsigned.
      
      Closes #1847, #1844
      07b2779b
  4. 18 Jun, 2014 1 commit
  5. 23 Apr, 2014 1 commit
  6. 30 Oct, 2013 1 commit
  7. 29 Oct, 2013 2 commits
  8. 28 Mar, 2013 1 commit
  9. 06 Nov, 2012 1 commit
    • antirez's avatar
      Type mismatch errors are now prefixed with WRONGTYPE. · 46c5d396
      antirez authored
      So instead to reply with a generic error like:
      
      -ERR ... wrong kind of value ...
      
      now it replies with:
      
      -WRONGTYPE ... wrong kind of value ...
      
      This makes this particular error easy to check without resorting to
      (fragile) pattern matching of the error string (however the error string
      used to be consistent already).
      
      Client libraries should return a specific exeption type for this error.
      
      Most of the commit is about fixing unit tests.
      46c5d396
  10. 16 Nov, 2011 2 commits
  11. 14 Nov, 2011 2 commits
  12. 10 Oct, 2011 1 commit
  13. 20 Jun, 2011 1 commit
  14. 15 Dec, 2010 3 commits
  15. 14 Dec, 2010 4 commits
  16. 10 Dec, 2010 1 commit
    • Pieter Noordhuis's avatar
      Add generic function to grow an sds value · eae33c1c
      Pieter Noordhuis authored
      Move logic concerned with setting a bit in an sds to the SETBIT command
      instead of keeping it in sds.c. The function to grow an sds can and will
      be reused for a command to set a range within a string value.
      eae33c1c
  17. 09 Dec, 2010 2 commits
  18. 15 Oct, 2010 1 commit
  19. 03 Aug, 2010 1 commit
  20. 27 Jul, 2010 1 commit
  21. 02 Jun, 2010 3 commits
  22. 14 May, 2010 2 commits