Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
b167f877
Commit
b167f877
authored
May 25, 2010
by
antirez
Browse files
RENAME is now WATCH-aware
parent
cef34df0
Changes
1
Show whitespace changes
Inline
Side-by-side
redis.c
View file @
b167f877
...
...
@@ -4683,6 +4683,7 @@ static void renameGenericCommand(redisClient *c, int nx) {
incrRefCount
(
c
->
argv
[
2
]);
}
deleteKey
(
c
->
db
,
c
->
argv
[
1
]);
touchWatchedKey
(
c
->
db
,
c
->
argv
[
2
]);
server
.
dirty
++
;
addReply
(
c
,
nx
?
shared
.
cone
:
shared
.
ok
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment