1. 10 Jun, 2014 1 commit
    • Matt Stancliff's avatar
      Scripting: Fix regression from #1118 · 76efe122
      Matt Stancliff authored
      The new check-for-number behavior of Lua arguments broke
      users who use large strings of just integers.
      
      The Lua number check would convert the string to a number, but
      that breaks user data because
      Lua numbers have limited precision compared to an arbitrarily
      precise number wrapped in a string.
      
      Regression fixed and new test added.
      
      Fixes #1118 again.
      76efe122
  2. 04 Jun, 2014 1 commit
  3. 22 May, 2014 1 commit
  4. 21 May, 2014 1 commit
    • Matt Stancliff's avatar
      Fix blocking operations from missing new lists · 33f943b4
      Matt Stancliff authored
      Behrad Zari discovered [1] and Josiah reported [2]: if you block
      and wait for a list to exist, but the list creates from
      a non-push command, the blocked client never gets notified.
      
      This commit adds notification of blocked clients into
      the DB layer and away from individual commands.
      
      Lists can be created by [LR]PUSH, SORT..STORE, RENAME, MOVE,
      and RESTORE.  Previously, blocked client notifications were
      only triggered by [LR]PUSH.  Your client would never get
      notified if a list were created by SORT..STORE or RENAME or
      a RESTORE, etc.
      
      Blocked client notification now happens in one unified place:
        - dbAdd() triggers notification when adding a list to the DB
      
      Two new tests are added that fail prior to this commit.
      
      All test pass.
      
      Fixes #1668
      
      [1]: https://groups.google.com/forum/#!topic/redis-db/k4oWfMkN1NU
      [2]: #1668
      33f943b4
  5. 20 May, 2014 1 commit
  6. 19 May, 2014 1 commit
  7. 07 May, 2014 1 commit
    • antirez's avatar
      Scripting test: check that Lua can call commands rewirting argv. · 76c31d42
      antirez authored
      SPOP, tested in the new test, is among the commands rewritng the
      client->argv argument vector (it gets rewritten as SREM) for command
      replication purposes.
      
      Because of recent optimizations to client->argv caching in the context
      of the Lua internal Redis client, it is important to test for SPOP to be
      callable from Lua without bad effects to the other commands.
      76c31d42
  8. 24 Apr, 2014 1 commit
  9. 18 Apr, 2014 2 commits
  10. 17 Apr, 2014 1 commit
  11. 16 Apr, 2014 2 commits
  12. 14 Apr, 2014 1 commit
  13. 10 Apr, 2014 1 commit
  14. 06 Apr, 2014 1 commit
  15. 03 Apr, 2014 1 commit
  16. 27 Feb, 2014 4 commits
  17. 13 Feb, 2014 1 commit
  18. 09 Jan, 2014 1 commit
  19. 08 Jan, 2014 1 commit
  20. 13 Dec, 2013 1 commit
  21. 08 Dec, 2013 1 commit
  22. 25 Nov, 2013 1 commit
  23. 05 Nov, 2013 1 commit
  24. 31 Oct, 2013 2 commits
  25. 30 Oct, 2013 6 commits
  26. 25 Oct, 2013 2 commits
  27. 30 Aug, 2013 1 commit
  28. 29 Aug, 2013 1 commit