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
07ac2daa
Commit
07ac2daa
authored
Nov 25, 2011
by
Salvatore Sanfilippo
Browse files
Merge pull request #209 from woowenjie/unstable
clean REDIS_DIRTY_CAS when discard Command runs. otherwise the next MULT...
parents
fa5af017
f371e721
Changes
1
Show whitespace changes
Inline
Side-by-side
src/multi.c
View file @
07ac2daa
...
...
@@ -57,7 +57,7 @@ void discardCommand(redisClient *c) {
freeClientMultiState
(
c
);
initClientMultiState
(
c
);
c
->
flags
&=
(
~
REDIS_MULTI
);
c
->
flags
&=
~
(
REDIS_MULTI
|
REDIS_DIRTY_CAS
);
;
unwatchAllKeys
(
c
);
addReply
(
c
,
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