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
bfdcfbb3
Commit
bfdcfbb3
authored
Feb 12, 2019
by
antirez
Browse files
ACL: fix setting of FAST flag.
parent
b9c97c0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server.c
View file @
bfdcfbb3
...
@@ -2914,10 +2914,10 @@ int populateCommandTableParseFlags(struct redisCommand *c, char *strflags) {
...
@@ -2914,10 +2914,10 @@ int populateCommandTableParseFlags(struct redisCommand *c, char *strflags) {
return
C_ERR
;
return
C_ERR
;
}
}
}
}
/* If it's not @fast is @slow in this binary world. */
if
(
!
(
c
->
flags
&
CMD_CATEGORY_FAST
))
c
->
flags
|=
CMD_CATEGORY_SLOW
;
}
}
/* If it's not @fast is @slow in this binary world. */
if
(
!
(
c
->
flags
&
CMD_CATEGORY_FAST
))
c
->
flags
|=
CMD_CATEGORY_SLOW
;
sdsfreesplitres
(
argv
,
argc
);
sdsfreesplitres
(
argv
,
argc
);
return
C_OK
;
return
C_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