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