1. 18 Jul, 2016 2 commits
  2. 05 Jul, 2016 1 commit
    • antirez's avatar
      redis-cli: check SELECT reply type just in state updated. · ef6a4df2
      antirez authored
      In issues #3361 / #3365 a problem was reported / fixed with redis-cli
      not updating correctly the current DB on error after SELECT.
      
      In theory this bug was fixed in 0042fb0e, but actually the commit only
      fixed the prompt updating, not the fact the state was set in a wrong
      way.
      
      This commit removes the check in the prompt update, now that hopefully
      it is the state that is correct, there is no longer need for this check.
      ef6a4df2
  3. 01 Jul, 2016 1 commit
  4. 16 Jun, 2016 1 commit
    • antirez's avatar
      redis-cli: really connect to the right server. · 7c8f275a
      antirez authored
      I recently introduced populating the autocomplete help array with the
      COMMAND command if available. However this was performed before parsing
      the arguments, defaulting to instance 6379. After the connection is
      performed it remains stable.
      
      The effect is that if there is an instance running on port 6339,
      whatever port you specify is ignored and 6379 is connected to instead.
      The right port will be selected only after a reconnection.
      
      Close #3314.
      7c8f275a
  5. 21 May, 2016 1 commit
  6. 07 May, 2016 1 commit
    • antirez's avatar
      redis-cli: integrate help.h with COMMAND output. · 8eb43bf7
      antirez authored
      Use the COMMAND output to fill with partial information the built-in
      help. This makes redis-cli able to at least complete commands that are
      exported by the Redis server it is connected to, but were not available
      in the help.h file when the redis-cli binary was compiled.
      8eb43bf7
  7. 05 May, 2016 2 commits
  8. 04 May, 2016 1 commit
  9. 25 Apr, 2016 1 commit
  10. 13 Apr, 2016 2 commits
  11. 09 Feb, 2016 1 commit
    • David Cavar's avatar
      Reverse redirect address parse · c30ffaab
      David Cavar authored
      Fix issue in case the redirect address is in ipv6 format. Parse from behind to extract last part of the response which represents actual port.
      c30ffaab
  12. 13 Jan, 2016 1 commit
  13. 08 Jan, 2016 1 commit
    • antirez's avatar
      Lua debugger: support direct calls to SCRIPT DEBUG in redis-cli. · 7c1a5ff3
      antirez authored
      Previously it was possible to activate a debugging session only using
      the --ldb option in redis-cli. Now calling SCRIPT DEBUG can also
      activate the debugging mode without putting the redis-cli in a
      desynchronized state.
      
      Related to #2952.
      7c1a5ff3
  14. 28 Nov, 2015 1 commit
    • antirez's avatar
      fix sprintf and snprintf format string · 96628cc4
      antirez authored
      There are some cases of printing unsigned integer with %d conversion
      specificator and vice versa (signed integer with %u specificator).
      
      Patch by Sergey Polovko. Backported to Redis from Disque.
      96628cc4
  15. 17 Nov, 2015 17 commits
  16. 30 Sep, 2015 1 commit
    • antirez's avatar
      redis-cli pipe mode: don't stay in the write loop forever. · d1b6a17d
      antirez authored
      The code was broken and resulted in redis-cli --pipe to, most of the
      times, writing everything received in the standard input to the Redis
      connection socket without ever reading back the replies, until all the
      content to write was written.
      
      This means that Redis had to accumulate all the output in the output
      buffers of the client, consuming a lot of memory.
      
      Fixed thanks to the original report of anomalies in the behavior
      provided by Twitter user @fsaintjacques.
      d1b6a17d
  17. 07 Sep, 2015 1 commit
  18. 27 Jul, 2015 1 commit
  19. 14 Jul, 2015 2 commits
  20. 13 Feb, 2015 1 commit