projects
/
redis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c0875a7
)
Fixed a typo causing segfault on MIGRATE
author
antirez
<antirez@gmail.com>
Mon, 17 Oct 2011 14:39:05 +0000
(16:39 +0200)
committer
antirez
<antirez@gmail.com>
Mon, 17 Oct 2011 14:39:05 +0000
(16:39 +0200)
src/cluster.c
patch
|
blob
|
blame
|
history
diff --git
a/src/cluster.c
b/src/cluster.c
index f043d1f83cec4837733a3214626ed98ff3959488..45f5425a4884a5afedfe2a38edbe6db96fa448b2 100644
(file)
--- a/
src/cluster.c
+++ b/
src/cluster.c
@@
-1602,7
+1602,7
@@
void migrateCommand(redisClient *c) {
server.dirty++;
/* Translate MIGRATE as DEL for replication/AOF. */
server.dirty++;
/* Translate MIGRATE as DEL for replication/AOF. */
- aux = createStringObject("DEL",
2
);
+ aux = createStringObject("DEL",
3
);
rewriteClientCommandVector(c,2,aux,c->argv[3]);
decrRefCount(aux);
}
rewriteClientCommandVector(c,2,aux,c->argv[3]);
decrRefCount(aux);
}