fixed server.cpp mentions
Former-commit-id: 7ed2296fc5d10a1c41020558b4bc445953531bdd
This commit is contained in:
parent
0312d89c7a
commit
8d7142488b
@ -718,7 +718,7 @@ replica-priority 100
|
|||||||
# -<command> Disallow the execution of that command
|
# -<command> Disallow the execution of that command
|
||||||
# +@<category> Allow the execution of all the commands in such category
|
# +@<category> Allow the execution of all the commands in such category
|
||||||
# with valid categories are like @admin, @set, @sortedset, ...
|
# with valid categories are like @admin, @set, @sortedset, ...
|
||||||
# and so forth, see the full list in the server.c file where
|
# and so forth, see the full list in the server.cpp file where
|
||||||
# the KeyDB command table is described and defined.
|
# the KeyDB command table is described and defined.
|
||||||
# The special category @all means all the commands, but currently
|
# The special category @all means all the commands, but currently
|
||||||
# present in the server, and that will be loaded in the future
|
# present in the server, and that will be loaded in the future
|
||||||
|
@ -723,8 +723,8 @@ void ACLAddAllowedSubcommand(user *u, unsigned long id, const char *sub) {
|
|||||||
* -<command> Disallow the execution of that command
|
* -<command> Disallow the execution of that command
|
||||||
* +@<category> Allow the execution of all the commands in such category
|
* +@<category> Allow the execution of all the commands in such category
|
||||||
* with valid categories are like @admin, @set, @sortedset, ...
|
* with valid categories are like @admin, @set, @sortedset, ...
|
||||||
* and so forth, see the full list in the server.c file where
|
* and so forth, see the full list in the server.cpp file where
|
||||||
* the Redis command table is described and defined.
|
* the KeyDB command table is described and defined.
|
||||||
* The special category @all means all the commands, but currently
|
* The special category @all means all the commands, but currently
|
||||||
* present in the server, and that will be loaded in the future
|
* present in the server, and that will be loaded in the future
|
||||||
* via modules.
|
* via modules.
|
||||||
|
@ -3351,8 +3351,8 @@ int populateCommandTableParseFlags(struct redisCommand *c, const char *strflags)
|
|||||||
return C_OK;
|
return C_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Populates the Redis Command Table starting from the hard coded list
|
/* Populates the KeyDB Command Table starting from the hard coded list
|
||||||
* we have on top of server.c file. */
|
* we have on top of server.cpp file. */
|
||||||
void populateCommandTable(void) {
|
void populateCommandTable(void) {
|
||||||
int j;
|
int j;
|
||||||
int numcommands = sizeof(redisCommandTable)/sizeof(struct redisCommand);
|
int numcommands = sizeof(redisCommandTable)/sizeof(struct redisCommand);
|
||||||
|
@ -352,7 +352,7 @@ extern int configOOMScoreAdjValuesDefaults[CONFIG_OOM_COUNT];
|
|||||||
/* Hash table parameters */
|
/* Hash table parameters */
|
||||||
#define HASHTABLE_MIN_FILL 10 /* Minimal hash table fill 10% */
|
#define HASHTABLE_MIN_FILL 10 /* Minimal hash table fill 10% */
|
||||||
|
|
||||||
/* Command flags. Please check the command table defined in the server.c file
|
/* Command flags. Please check the command table defined in the server.cpp file
|
||||||
* for more information about the meaning of every flag. */
|
* for more information about the meaning of every flag. */
|
||||||
#define CMD_WRITE (1ULL<<0) /* "write" flag */
|
#define CMD_WRITE (1ULL<<0) /* "write" flag */
|
||||||
#define CMD_READONLY (1ULL<<1) /* "read-only" flag */
|
#define CMD_READONLY (1ULL<<1) /* "read-only" flag */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user