Commit 0d581557 authored by antirez's avatar antirez
Browse files

Fix CMD_DENYOOM macro name after backporting.

parent e0b7388d
......@@ -2070,7 +2070,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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment