mirror of
https://github.com/fluencelabs/redis
synced 2025-06-01 11:31:20 +00:00
Fix CMD_DENYOOM macro name after backporting.
This commit is contained in:
parent
514ee7135e
commit
99cb476500
@ -2213,7 +2213,7 @@ int processCommand(redisClient *c) {
|
||||
|
||||
/* It was impossible to free enough memory, and the command the client
|
||||
* 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);
|
||||
addReply(c, shared.oomerr);
|
||||
return REDIS_OK;
|
||||
|
Loading…
x
Reference in New Issue
Block a user