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
73d7955c
"vscode:/vscode.git/clone" did not exist on "d63caaa8200372773347f34de116d6e62fe174f4"
Commit
73d7955c
authored
Jun 25, 2013
by
antirez
Browse files
Flush the replication script cache after SCRIPT FLUSH.
parent
882e3636
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scripting.c
View file @
73d7955c
...
...
@@ -1020,6 +1020,7 @@ void scriptCommand(redisClient *c) {
if
(
c
->
argc
==
2
&&
!
strcasecmp
(
c
->
argv
[
1
]
->
ptr
,
"flush"
))
{
scriptingReset
();
addReply
(
c
,
shared
.
ok
);
replicationScriptCacheFlush
();
server
.
dirty
++
;
/* Propagating 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