Tomasz Poradowski
77653ebe8a
always enable command history in redis-cli
...
- when redis-cli is running in a TTY - always enable command history
buffering, regardless if history file path can be successfully
determined
2017-12-13 23:49:41 +01:00
Tomasz Poradowski
15e36316ed
always enable command history in redis-cli
...
- when redis-cli is running in a TTY - always enable command history
buffering, regardless if history file path can be successfully
determined
2017-12-13 23:49:41 +01:00
antirez
de276b6a43
Cluster: allow read-only EVAL/EVALSHA in slaves.
...
Fix #3665 .
2017-12-13 13:36:01 +01:00
antirez
2de3d4c238
Cluster: allow read-only EVAL/EVALSHA in slaves.
...
Fix #3665 .
2017-12-13 13:36:01 +01:00
nashe
f43eb5adcf
Prevent off-by-one read in stringmatchlen() ( fixes #4527 )
2017-12-12 01:25:03 +01:00
nashe
e255e8a23e
Prevent off-by-one read in stringmatchlen() ( fixes #4527 )
2017-12-12 01:25:03 +01:00
Itamar Haber
4317e2131f
Standardizes MEMORY HELP
subcommand
2017-12-10 17:54:56 +02:00
Itamar Haber
4ec4a516f5
Standardizes MEMORY HELP
subcommand
2017-12-10 17:54:56 +02:00
zhaozhao.zz
109ee497be
zset: change the span of zskiplistNode to unsigned long
2017-12-08 16:09:27 +08:00
zhaozhao.zz
2d3bb10b74
zset: change the span of zskiplistNode to unsigned long
2017-12-08 16:09:27 +08:00
zhaozhao.zz
e8901b2fe4
zset: fix the int problem
2017-12-08 15:37:08 +08:00
zhaozhao.zz
b6b9199396
zset: fix the int problem
2017-12-08 15:37:08 +08:00
antirez
522760fac7
Change indentation and other minor details of PR #4489 .
...
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.
2017-12-06 12:05:14 +01:00
antirez
c6243a942d
Change indentation and other minor details of PR #4489 .
...
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.
2017-12-06 12:05:14 +01:00
Itamar Haber
482d678e95
C style
2017-12-05 19:09:19 +02:00
Itamar Haber
2d0c00ff5f
C style
2017-12-05 19:09:19 +02:00
Itamar Haber
b23c8babed
Uses an offset in addReplyHelp
2017-12-05 18:17:14 +02:00
Itamar Haber
66e5f13e7a
Uses an offset in addReplyHelp
2017-12-05 18:17:14 +02:00
Itamar Haber
8b51121998
Merge remote-tracking branch 'upstream/unstable' into help_subcommands
2017-12-05 18:14:59 +02:00
Itamar Haber
ae758ab46b
Merge remote-tracking branch 'upstream/unstable' into help_subcommands
2017-12-05 18:14:59 +02:00
antirez
62a4b817c6
add linkClient(): adds the client and caches the list node.
...
We have this operation in two places: when caching the master and
when linking a new client after the client creation. By having an API
for this we avoid incurring in errors when modifying one of the two
places forgetting the other. The function is also a good place where to
document why we cache the linked list node.
Related to #4497 and #4210 .
2017-12-05 16:02:03 +01:00
antirez
7bec849a07
add linkClient(): adds the client and caches the list node.
...
We have this operation in two places: when caching the master and
when linking a new client after the client creation. By having an API
for this we avoid incurring in errors when modifying one of the two
places forgetting the other. The function is also a good place where to
document why we cache the linked list node.
Related to #4497 and #4210 .
2017-12-05 16:02:03 +01:00
Salvatore Sanfilippo
03cfc8bf3a
Merge pull request #4497 from soloestoy/optimize-unlink-client
...
networking: optimize unlinkClient() in freeClient()
2017-12-05 15:51:15 +01:00
Salvatore Sanfilippo
873752cd76
Merge pull request #4497 from soloestoy/optimize-unlink-client
...
networking: optimize unlinkClient() in freeClient()
2017-12-05 15:51:15 +01:00
Salvatore Sanfilippo
c56fbb246c
Merge pull request #4508 from trevor211/fixNotes
...
fix some notes
2017-12-05 15:47:05 +01:00
Salvatore Sanfilippo
3f1bfac9c6
Merge pull request #4508 from trevor211/fixNotes
...
fix some notes
2017-12-05 15:47:05 +01:00
antirez
479ea57797
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2017-12-05 15:38:21 +01:00
antirez
03b7d8d850
Merge branch 'unstable' of github.com:/antirez/redis into unstable
2017-12-05 15:38:21 +01:00
zhaozhao.zz
7c6ddbc37d
dict: fix the int problem for defrag
2017-12-05 15:38:03 +01:00
zhaozhao.zz
af08cd716d
dict: fix the int problem for defrag
2017-12-05 15:38:03 +01:00
zhaozhao.zz
d1176b582c
dict: fix the int problem
2017-12-05 15:37:59 +01:00
zhaozhao.zz
c6ed4c399a
dict: fix the int problem
2017-12-05 15:37:59 +01:00
Salvatore Sanfilippo
6830fa25e3
Merge pull request #4488 from itamarhaber/debug_arity
...
Standardizes arity handling of DEBUG
2017-12-05 15:29:42 +01:00
Salvatore Sanfilippo
77ff594df3
Merge pull request #4488 from itamarhaber/debug_arity
...
Standardizes arity handling of DEBUG
2017-12-05 15:29:42 +01:00
Salvatore Sanfilippo
e4903ce586
Merge pull request #4509 from soloestoy/set-int-problem
...
Set int problem
2017-12-05 15:28:08 +01:00
Salvatore Sanfilippo
6c6ba30cfa
Merge pull request #4509 from soloestoy/set-int-problem
...
Set int problem
2017-12-05 15:28:08 +01:00
zhaozhao.zz
42387d6c1a
set: fix the int problem for qsort
2017-12-05 17:42:19 +08:00
zhaozhao.zz
470090fc4a
set: fix the int problem for qsort
2017-12-05 17:42:19 +08:00
zhaozhao.zz
de809666f8
set: fix the int problem for SPOP & SRANDMEMBER
2017-12-05 17:19:19 +08:00
zhaozhao.zz
9a6a24d944
set: fix the int problem for SPOP & SRANDMEMBER
2017-12-05 17:19:19 +08:00
WuYunlong
3f232ebfb8
fix some notes
2017-12-05 14:41:16 +08:00
WuYunlong
6920f879b0
fix some notes
2017-12-05 14:41:16 +08:00
Salvatore Sanfilippo
e6c3bcf9e0
Merge pull request #4506 from soloestoy/quicklist-int-problem
...
Quicklist int problem
2017-12-04 17:25:34 +01:00
Salvatore Sanfilippo
7e16557875
Merge pull request #4506 from soloestoy/quicklist-int-problem
...
Quicklist int problem
2017-12-04 17:25:34 +01:00
zhaozhao.zz
b9491b65d9
quicklist: change the len of quicklist to unsigned long
2017-12-04 19:49:40 +08:00
zhaozhao.zz
68977f5138
quicklist: change the len of quicklist to unsigned long
2017-12-04 19:49:40 +08:00
zhaozhao.zz
664bbfe760
quicklist: fix the return value of quicklistCount
2017-12-04 19:49:23 +08:00
zhaozhao.zz
549cca35ad
quicklist: fix the return value of quicklistCount
2017-12-04 19:49:23 +08:00
antirez
2869284e44
Streams: fix a few type mismatches in t_stream.c.
2017-12-04 11:59:15 +01:00
antirez
a135f4f52c
Streams: fix a few type mismatches in t_stream.c.
2017-12-04 11:59:15 +01:00