History log of /redis-3.2.3/src/redis-cli.c (Results 1 – 25 of 175)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: 8.0-m02, 6.2.16, 7.2.6, 7.4.1, 8.0-m01, 7.4.0, 7.4-rc2, 7.4-rc1, 7.2.5, 7.2.4, 7.0.15, 7.2.3, 7.2.2, 7.0.14, 6.2.14, 6.2.15, 7.2.1, 7.0.13, 7.2.0, 7.2-rc3, 7.0.12, 6.2.13, 6.0.20, 7.2-rc2, 6.0.19, 6.2.12, 7.0.11, 7.2-rc1, 7.0.10, 7.0.9, 6.2.11, 6.0.18, 6.2.10, 6.0.17, 6.2.9, 7.0.8, 7.0.7, 7.0.6, 6.2.8, 7.0.5, 7.0.4, 7.0.3, 7.0.2, 7.0.1, 7.0.0, 6.2.7, 7.0-rc3, 7.0-rc2, 7.0-rc1, 6.2.6, 6.0.16, 5.0.14, 5.0.13, 6.0.15, 6.2.5, 6.0.14, 6.2.4, 6.2.3, 6.0.13, 6.2.2, 6.2.1, 6.0.12, 5.0.12, 6.0.11, 6.2.0, 5.0.11, 6.2-rc3, 6.0.10, 6.2-rc2, 6.2-rc1, 6.0.9, 5.0.10, 6.0.8, 6.0.7, 6.0.6, 6.0.5, 6.0.4, 6.0.3, 6.0.2, 6.0.1, 6.0.0, 5.0.9, 6.0-rc4, 6.0-rc3, 5.0.8, 6.0-rc2, 6.0-rc1, 5.0.7, 5.0.6, 5.0.5, 3.2.13, 4.0.14, 5.0.4, 4.0.13, 5.0.3, 4.0.12, 5.0.2, 5.0.1, 5.0.0, 5.0-rc6, 5.0-rc5, 4.0.11, 5.0-rc4, 5.0-rc3, 5.0-rc2, 4.0.10, 3.2.12, 5.0-rc1, 4.0.9, 4.0.8, 4.0.7, 4.0.6, 4.0.5, 4.0.4, 4.0.3, 3.2.11, 4.0.2, 3.2.10, 4.0.1, 4.0.0, 3.2.9, 4.0-rc3, 3.2.8, 3.2.7, 3.2.6, 4.0-rc2, 4.0-rc1, 3.2.5, 3.2.4, 3.2.3, 3.2.2
# 0b748e91 05-Jul-2016 antirez <[email protected]>

redis-cli: check SELECT reply type just in state updated.

In issues #3361 / #3365 a problem was reported / fixed with redis-cli
not updating correctly the current DB on error after SELECT.

In theor

redis-cli: check SELECT reply type just in state updated.

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.

show more ...


# 1158386b 01-Jul-2016 sskorgal <[email protected]>

Fix for redis_cli printing default DB when select command fails.


Revision tags: 3.2.1
# 58f1d446 16-Jun-2016 antirez <[email protected]>

redis-cli: really connect to the right server.

I recently introduced populating the autocomplete help array with the
COMMAND command if available. However this was performed before parsing
the argum

redis-cli: really connect to the right server.

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.

show more ...


# b6007b32 21-May-2016 Jan-Erik Rediger <[email protected]>

Remove debug printing


# 029dc0d9 07-May-2016 antirez <[email protected]>

redis-cli: integrate help.h with COMMAND output.

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

redis-cli: integrate help.h with COMMAND output.

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.

show more ...


Revision tags: 3.2.0
# 3907b059 05-May-2016 antirez <[email protected]>

redis-cli: remove debugging message.


Revision tags: 3.2.0-rc3, 3.0.7, 3.2.0-rc2
# 13bd7028 13-Jan-2016 Jan-Erik Rediger <[email protected]>

Fix nanosecond conversion

1 microsecond = 1000 nanoseconds
1e3 = 1000
10e3 = 10000


# f6b7df3a 05-May-2016 antirez <[email protected]>

redis-cli: don't free historyfile, is used later.


# 787d5ab9 09-Feb-2016 David Cavar <[email protected]>

Reverse redirect address parse

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.


# b8a63635 04-May-2016 antirez <[email protected]>

Minor redis-cli wording change in --help output.


# 3ede6c7a 25-Apr-2016 Oran Agra <[email protected]>

add DEBUG JEMALLC PURGE and JEMALLOC INFO cleanup


# bbf93108 13-Apr-2016 antirez <[email protected]>

redis-cli preferences and rc file support.


# 3fd3fca0 13-Apr-2016 antirez <[email protected]>

redis-cli hints.


# 6cbd5596 08-Jan-2016 antirez <[email protected]>

Lua debugger: support direct calls to SCRIPT DEBUG in redis-cli.

Previously it was possible to activate a debugging session only using
the --ldb option in redis-cli. Now calling SCRIPT DEBUG can als

Lua debugger: support direct calls to SCRIPT DEBUG in redis-cli.

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.

show more ...


Revision tags: 3.2-rc1, 3.0.6, 2.8.24
# 4916d205 28-Nov-2015 antirez <[email protected]>

fix sprintf and snprintf format string

There are some cases of printing unsigned integer with %d conversion
specificator and vice versa (signed integer with %u specificator).

Patch by Sergey Polovk

fix sprintf and snprintf format string

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.

show more ...


# 848c92a3 17-Nov-2015 antirez <[email protected]>

Lua debugger: redis-cli: allow restart after end of session.


# 5535784b 17-Nov-2015 antirez <[email protected]>

Lua debugger: redis-cli can restart Lua debugging sessions.


# 79c6e689 16-Nov-2015 antirez <[email protected]>

Lua debugger: maxlen command implemented.

Let the user control the replies truncation.


# 267ebb67 16-Nov-2015 antirez <[email protected]>

Lua debugger: redis-cli: show compile errors in LDB mode.


# 57d38d54 16-Nov-2015 antirez <[email protected]>

Lua debugger: redis-cli error when --ldb is without --eval.

Otherwise the result is a messed CLI without prompt.
Thanks to Itamar Haber for reporting this issue.


# b9429fd8 16-Nov-2015 antirez <[email protected]>

Lua debugger: use sds_malloc() to allocate eval cli array.

Redis-cli handles the debugger "eval" command in a special way since
sdssplitargs() would not be ok: we need to send the Redis debugger the

Lua debugger: use sds_malloc() to allocate eval cli array.

Redis-cli handles the debugger "eval" command in a special way since
sdssplitargs() would not be ok: we need to send the Redis debugger the
whole Lua script without any parsing. However in order to later free the
argument vector inside redis-cli using just sdsfreesplitres(), we need
to allocate the array of SDS pointers using the same allocator SDS is
using, that may differ to what Redis is using.

So now a newer version of SDS exports sds_malloc() and other allocator
functions to give access, to the program it is linked to, the allocator
used internally by SDS.

show more ...


# 75788d6a 13-Nov-2015 antirez <[email protected]>

Lua debugger: better support for synchronous mode.


# 85faf61b 12-Nov-2015 antirez <[email protected]>

Lua debugger: inform user changes are rolled back.

When redis-cli will support the synchronous mode, this will not be
printed.


# 629acd61 12-Nov-2015 antirez <[email protected]>

Lua debugger: clear end of session protocol.

When the debugger exits now it produces an <endsession> tag that informs
redis-cli (or other debugging clients) that the session terminated.
This way the

Lua debugger: clear end of session protocol.

When the debugger exits now it produces an <endsession> tag that informs
redis-cli (or other debugging clients) that the session terminated.
This way the client knows there is yet another reply to read (the one of
the EVAL script itself), and can switch to non-debugging mode ASAP.

show more ...


# 8f8c6b3b 12-Nov-2015 antirez <[email protected]>

Lua debugger: redis.debug() implemented.


1234567