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
99cb4765
Commit
99cb4765
authored
Dec 18, 2015
by
antirez
Browse files
Fix CMD_DENYOOM macro name after backporting.
parent
514ee713
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/redis.c
View file @
99cb4765
...
@@ -2213,7 +2213,7 @@ int processCommand(redisClient *c) {
...
@@ -2213,7 +2213,7 @@ int processCommand(redisClient *c) {
/* It was impossible to free enough memory, and the command the client
/* It was impossible to free enough memory, and the command the client
* is trying to execute is denied during OOM conditions? Error. */
* is trying to execute is denied during OOM conditions? Error. */
if
((
c
->
cmd
->
flags
&
CMD_DENYOOM
)
&&
retval
==
REDIS_ERR
)
{
if
((
c
->
cmd
->
flags
&
REDIS_
CMD_DENYOOM
)
&&
retval
==
REDIS_ERR
)
{
flagTransaction
(
c
);
flagTransaction
(
c
);
addReply
(
c
,
shared
.
oomerr
);
addReply
(
c
,
shared
.
oomerr
);
return
REDIS_OK
;
return
REDIS_OK
;
...
...
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