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
fb674688
Commit
fb674688
authored
Jun 25, 2013
by
antirez
Browse files
Force propagation of SCRIPT LOAD to AOF.
parent
e27b1360
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/scripting.c
View file @
fb674688
...
...
@@ -1048,7 +1048,7 @@ void scriptCommand(redisClient *c) {
}
addReplyBulkCBuffer
(
c
,
funcname
+
2
,
40
);
sdsfree
(
sha
);
forceCommandPropagation
(
c
,
REDIS_PROPAGATE_REPL
);
forceCommandPropagation
(
c
,
REDIS_PROPAGATE_REPL
|
REDIS_PROPAGATE_AOF
);
}
else
if
(
c
->
argc
==
2
&&
!
strcasecmp
(
c
->
argv
[
1
]
->
ptr
,
"kill"
))
{
if
(
server
.
lua_caller
==
NULL
)
{
addReplySds
(
c
,
sdsnew
(
"-NOTBUSY No scripts in execution right now.
\r\n
"
));
...
...
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