mirror of
https://github.com/fluencelabs/redis
synced 2025-04-01 15:21:03 +00:00
Purely aesthetic code change.
This commit is contained in:
parent
f892797e1b
commit
c2672a06cd
@ -26,8 +26,8 @@ void replicationFeedSlaves(list *slaves, int dictid, robj **argv, int argc) {
|
|||||||
robj *selectcmd;
|
robj *selectcmd;
|
||||||
|
|
||||||
if (dictid >= 0 && dictid < REDIS_SHARED_SELECT_CMDS) {
|
if (dictid >= 0 && dictid < REDIS_SHARED_SELECT_CMDS) {
|
||||||
incrRefCount(shared.select[dictid]);
|
|
||||||
selectcmd = shared.select[dictid];
|
selectcmd = shared.select[dictid];
|
||||||
|
incrRefCount(selectcmd);
|
||||||
} else {
|
} else {
|
||||||
selectcmd = createObject(REDIS_STRING,
|
selectcmd = createObject(REDIS_STRING,
|
||||||
sdscatprintf(sdsempty(),"select %d\r\n",dictid));
|
sdscatprintf(sdsempty(),"select %d\r\n",dictid));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user