1. 16 6月, 2020 3 次提交
  2. 15 6月, 2020 1 次提交
  3. 14 6月, 2020 1 次提交
    • M
      Fix RM_ScanKey module api not to return int encoded strings · a89bf734
      meir@redislabs.com 提交于
      The scan key module API provides the scan callback with the current
      field name and value (if it exists). Those arguments are RedisModuleString*
      which means it supposes to point to robj which is encoded as a string.
      Using createStringObjectFromLongLong function might return robj that
      points to an integer and so break a module that tries for example to
      use RedisModule_StringPtrLen on the given field/value.
      
      The PR introduces a fix that uses the createObject function and sdsfromlonglong function.
      Using those function promise that the field and value pass to the to the
      scan callback will be Strings.
      
      The PR also changes the Scan test module to use RedisModule_StringPtrLen
      to catch the issue. without this, the issue is hidden because
      RedisModule_ReplyWithString knows to handle integer encoding of the
      given robj (RedisModuleString).
      
      The PR also introduces a new test to verify the issue is solved.
      a89bf734
  4. 12 6月, 2020 3 次提交
  5. 11 6月, 2020 3 次提交
  6. 10 6月, 2020 2 次提交
  7. 09 6月, 2020 3 次提交
  8. 08 6月, 2020 9 次提交
  9. 07 6月, 2020 1 次提交
  10. 06 6月, 2020 3 次提交
  11. 03 6月, 2020 1 次提交
  12. 02 6月, 2020 1 次提交
  13. 31 5月, 2020 3 次提交
  14. 29 5月, 2020 3 次提交
  15. 28 5月, 2020 3 次提交