1. 10 5月, 2012 1 次提交
  2. 09 5月, 2012 1 次提交
  3. 07 5月, 2012 1 次提交
  4. 06 5月, 2012 1 次提交
    • P
      Compare integers in ziplist regardless of encoding · bf219416
      Pieter Noordhuis 提交于
      Because of the introduction of new integer encoding types for ziplists
      in the 2.6 tree, the same integer value may have a different encoding in
      different versions of the ziplist implementation. This means that the
      encoding can NOT be used as a fast path in comparing integers.
      bf219416
  5. 04 5月, 2012 2 次提交
  6. 03 5月, 2012 3 次提交
  7. 02 5月, 2012 1 次提交
  8. 01 5月, 2012 2 次提交
    • P
      Use safe dictionary iterator from KEYS · cc4f65fe
      Pieter Noordhuis 提交于
      Every matched key in a KEYS call is checked for expiration. When the key
      is set to expire, the call to `getExpire` will assert that the key also
      exists in the main dictionary. This in turn causes a rehashing step to
      be executed. Rehashing a dictionary when there is an iterator active may
      result in the iterator emitting duplicate entries, or not emitting some
      entries at all. By using a safe iterator, the rehash step is omitted.
      cc4f65fe
    • H
      2ac546e0
  9. 30 4月, 2012 1 次提交
  10. 29 4月, 2012 1 次提交
  11. 27 4月, 2012 3 次提交
    • A
      ffe003dc
    • A
      redis-cli commands description in help.h updated. · 841048f2
      antirez 提交于
      841048f2
    • A
      Set LUA_MASKCOUNT hook more selectively. Fixes issue #480. · 0ad10db2
      antirez 提交于
      An user reported a crash with Redis scripting (see issue #480 on
      github), inspection of the kindly provided strack trace showed that
      server.lua_caller was probably set to NULL. The stack trace also slowed
      that the call to the hook was originating from a point where we just
      used to set/get a few global variables in the Lua state.
      
      What was happening is that we did not set the timeout hook selectively
      only when the user script was called. Now we set it more selectively,
      specifically only in the context of the lua_pcall() call, and make sure
      to remove the hook when the call returns. Otherwise the hook can get
      called in random contexts every time we do something with the Lua
      state.
      0ad10db2
  12. 26 4月, 2012 8 次提交
  13. 25 4月, 2012 2 次提交
  14. 24 4月, 2012 8 次提交
  15. 23 4月, 2012 5 次提交