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
|
||||
# +@<category> Allow the execution of all the commands in such category
|
||||
# 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 special category @all means all the commands, but currently
|
||||
# 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
|
||||
* +@<category> Allow the execution of all the commands in such category
|
||||
* with valid categories are like @admin, @set, @sortedset, ...
|
||||
* and so forth, see the full list in the server.c file where
|
||||
* the Redis command table is described and defined.
|
||||
* and so forth, see the full list in the server.cpp file where
|
||||
* the KeyDB command table is described and defined.
|
||||
* The special category @all means all the commands, but currently
|
||||
* present in the server, and that will be loaded in the future
|
||||
* via modules.
|
||||
|
@ -3351,8 +3351,8 @@ int populateCommandTableParseFlags(struct redisCommand *c, const char *strflags)
|
||||
return C_OK;
|
||||
}
|
||||
|
||||
/* Populates the Redis Command Table starting from the hard coded list
|
||||
* we have on top of server.c file. */
|
||||
/* Populates the KeyDB Command Table starting from the hard coded list
|
||||
* we have on top of server.cpp file. */
|
||||
void populateCommandTable(void) {
|
||||
int j;
|
||||
int numcommands = sizeof(redisCommandTable)/sizeof(struct redisCommand);
|
||||
|
@ -352,7 +352,7 @@ extern int configOOMScoreAdjValuesDefaults[CONFIG_OOM_COUNT];
|
||||
/* Hash table parameters */
|
||||
#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. */
|
||||
#define CMD_WRITE (1ULL<<0) /* "write" flag */
|
||||
#define CMD_READONLY (1ULL<<1) /* "read-only" flag */
|
||||
|
Loading…
x
Reference in New Issue
Block a user