1. 12 Jan, 2018 4 commits
    • Salvatore Sanfilippo's avatar
      Merge pull request #4581 from dvirsky/module_unlink · 72187fa8
      Salvatore Sanfilippo authored
      Added RM_UnlinkKey - a low level analog to UNLINK command
      72187fa8
    • antirez's avatar
    • Salvatore Sanfilippo's avatar
      Merge pull request #4586 from gnuhpc/fix-crashlog-typo · 71914387
      Salvatore Sanfilippo authored
      Fix a typo(maybe instruction?) in crash log
      71914387
    • antirez's avatar
      Fix getKeysUsingCommandTable() in the case of nagative arity. · 2f8476df
      antirez authored
      This fixes a crash with Redis Cluster when OBJECT is mis-used, because
      getKeysUsingCommandTable() will call serverPanic() detecting we are
      accessing an invalid argument in the case "OBJECT foo" is called.
      
      This bug was introduced when OBJECT HELP was introduced, because the key
      argument is set fixed at index 2 in the command table, however now
      OBJECT may be called with an insufficient number of arguments to extract
      the key.
      
      The "Right Thing" would be to have a specific function to extract keys
      from the OBJECT command, however this is kinda of an overkill, so I
      preferred to make getKeysUsingCommandTable() more robust and just return
      no keys when it's not possible to honor the command table, because new
      commands are often added and also there are a number with an HELP
      subcommand violating the normal form, and crashing for this trivial
      reason or having many command-specific key extraction functions is not
      great.
      2f8476df
  2. 11 Jan, 2018 4 commits
  3. 09 Jan, 2018 4 commits
  4. 07 Jan, 2018 1 commit
  5. 05 Jan, 2018 2 commits
  6. 29 Dec, 2017 2 commits
  7. 22 Dec, 2017 3 commits
  8. 15 Dec, 2017 2 commits
  9. 14 Dec, 2017 4 commits
  10. 13 Dec, 2017 2 commits
  11. 12 Dec, 2017 1 commit
  12. 06 Dec, 2017 1 commit
    • antirez's avatar
      Change indentation and other minor details of PR #4489. · 522760fa
      antirez authored
      The main change introduced by this commit is pretending that help
      arrays are more text than code, thus indenting them at level 0. This
      improves readability, and is an old practice when defining arrays of
      C strings describing text.
      
      Additionally a few useless return statements are removed, and the HELP
      subcommand capitalized when printed to the user.
      522760fa
  13. 05 Dec, 2017 10 commits