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
e27b1360
Commit
e27b1360
authored
Jun 25, 2013
by
antirez
Browse files
SCRIPT FLUSH comment minor pedantic improvement.
parent
82ea1c6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scripting.c
View file @
e27b1360
...
...
@@ -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