Fixed over-80-cols comment in db.c
This commit is contained in:
parent
08d8bb57df
commit
2ea9518a53
3
src/db.c
3
src/db.c
@ -382,7 +382,8 @@ void renameGenericCommand(redisClient *c, int nx) {
|
|||||||
addReply(c,shared.czero);
|
addReply(c,shared.czero);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
/* Overwrite: delete the old key before creating the new one with the same name. */
|
/* Overwrite: delete the old key before creating the new one
|
||||||
|
* with the same name. */
|
||||||
dbDelete(c->db,c->argv[2]);
|
dbDelete(c->db,c->argv[2]);
|
||||||
}
|
}
|
||||||
dbAdd(c->db,c->argv[2],o);
|
dbAdd(c->db,c->argv[2],o);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user