heqin
ee724cac49
fixbug for #4538 Error opening /setting AOF rewrite IPC pipes: No such file or directory
2017-12-15 11:06:58 +08:00
heqin
0d47a71887
fixbug for #4538 Error opening /setting AOF rewrite IPC pipes: No such file or directory
2017-12-15 11:06:58 +08:00
Salvatore Sanfilippo
d745e8dfb3
Merge pull request #4536 from tporadowski/antirez_unstable-cli-history
...
Always enable command history in redis-cli run on a TTY
2017-12-14 22:14:45 +01:00
Salvatore Sanfilippo
16ad748b26
Merge pull request #4536 from tporadowski/antirez_unstable-cli-history
...
Always enable command history in redis-cli run on a TTY
2017-12-14 22:14:45 +01:00
Salvatore Sanfilippo
398b2084af
Merge pull request #4528 from nashe/patch-oob-read-4527
...
Prevent off-by-one read in stringmatchlen()
2017-12-14 12:21:32 +01:00
Salvatore Sanfilippo
7ef83ea2e9
Merge pull request #4528 from nashe/patch-oob-read-4527
...
Prevent off-by-one read in stringmatchlen()
2017-12-14 12:21:32 +01:00
antirez
12e65a424c
safe_write -> aofWrite. Function commented.
...
Related to #4498 .
2017-12-14 12:19:36 +01:00
antirez
2914126d41
safe_write -> aofWrite. Function commented.
...
Related to #4498 .
2017-12-14 12:19:36 +01:00
Salvatore Sanfilippo
5182dcd645
Merge pull request #4498 from soloestoy/aof-safe-write
...
Aof safe write -- fix the short write
2017-12-14 12:15:46 +01:00
Salvatore Sanfilippo
1c51d71eda
Merge pull request #4498 from soloestoy/aof-safe-write
...
Aof safe write -- fix the short write
2017-12-14 12:15:46 +01:00
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