1. 14 Sep, 2015 2 commits
    • antirez's avatar
      Test: MOVE expire test improved. · a0ff29bc
      antirez authored
      Related to #2765.
      a0ff29bc
    • antirez's avatar
      MOVE now can move TTL metadata as well. · 5b6c7647
      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.
      5b6c7647
  2. 06 Oct, 2014 3 commits
  3. 26 Aug, 2014 2 commits
    • Matt Stancliff's avatar
      Reject MOVE to non-integer DBs · 17438f7c
      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
      17438f7c
    • Jan-Erik Rediger's avatar
      Handle large getrange requests · b7a4cfb4
      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
      b7a4cfb4
  4. 21 Jun, 2014 1 commit
  5. 23 Apr, 2014 1 commit
  6. 30 Oct, 2013 1 commit
  7. 25 Oct, 2013 2 commits
  8. 22 Jul, 2013 1 commit
  9. 28 Mar, 2013 1 commit
  10. 06 Nov, 2012 1 commit
    • antirez's avatar
      Type mismatch errors are now prefixed with WRONGTYPE. · c4b0b685
      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.
      c4b0b685
  11. 16 Nov, 2011 2 commits
  12. 14 Nov, 2011 2 commits
  13. 10 Oct, 2011 1 commit
  14. 20 Jun, 2011 1 commit
  15. 15 Dec, 2010 3 commits
  16. 14 Dec, 2010 4 commits
  17. 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
  18. 09 Dec, 2010 2 commits
  19. 15 Oct, 2010 1 commit
  20. 03 Aug, 2010 1 commit
  21. 27 Jul, 2010 1 commit
  22. 02 Jun, 2010 3 commits
  23. 14 May, 2010 2 commits