Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
b7233f40
Commit
b7233f40
authored
Jun 25, 2013
by
antirez
Browse files
SCRIPT FLUSH comment minor pedantic improvement.
parent
8450d6e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scripting.c
View file @
b7233f40
...
...
@@ -1020,7 +1020,7 @@ void scriptCommand(redisClient *c) {
if
(
c
->
argc
==
2
&&
!
strcasecmp
(
c
->
argv
[
1
]
->
ptr
,
"flush"
))
{
scriptingReset
();
addReply
(
c
,
shared
.
ok
);
server
.
dirty
++
;
/*
Replic
ating this command is a good idea. */
server
.
dirty
++
;
/*
Propag
ating this command is a good idea. */
}
else
if
(
c
->
argc
>=
2
&&
!
strcasecmp
(
c
->
argv
[
1
]
->
ptr
,
"exists"
))
{
int
j
;
...
...
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