mirror of
http://github.com/valkey-io/valkey
synced 2024-11-21 16:46:15 +00:00
Rename redisCommandGroup to serverCommandGroup (#172)
Part of issue #144 Signed-off-by: 0del <bany.y0599@gmail.com>
This commit is contained in:
parent
def09488aa
commit
99bdcc0ed0
@ -5,7 +5,7 @@
|
||||
* the fantastic
|
||||
* Redis Command Table! */
|
||||
|
||||
/* Must match redisCommandGroup */
|
||||
/* Must match serverCommandGroup */
|
||||
const char *COMMAND_GROUP_STR[] = {
|
||||
"generic",
|
||||
"string",
|
||||
|
@ -2235,7 +2235,7 @@ typedef enum {
|
||||
COMMAND_GROUP_STREAM,
|
||||
COMMAND_GROUP_BITMAP,
|
||||
COMMAND_GROUP_MODULE,
|
||||
} redisCommandGroup;
|
||||
} serverCommandGroup;
|
||||
|
||||
typedef void redisCommandProc(client *c);
|
||||
typedef int redisGetKeysProc(struct redisCommand *cmd, robj **argv, int argc, getKeysResult *result);
|
||||
@ -2343,7 +2343,7 @@ struct redisCommand {
|
||||
int doc_flags; /* Flags for documentation (see CMD_DOC_*). */
|
||||
const char *replaced_by; /* In case the command is deprecated, this is the successor command. */
|
||||
const char *deprecated_since; /* In case the command is deprecated, when did it happen? */
|
||||
redisCommandGroup group; /* Command group */
|
||||
serverCommandGroup group; /* Command group */
|
||||
commandHistory *history; /* History of the command */
|
||||
int num_history;
|
||||
const char **tips; /* An array of strings that are meant to be tips for clients/proxies regarding this command */
|
||||
|
@ -578,7 +578,7 @@ with open("%s/%s.def" % (srcdir, commands_filename), "w") as f:
|
||||
* the fantastic
|
||||
* Redis Command Table! */
|
||||
|
||||
/* Must match redisCommandGroup */
|
||||
/* Must match serverCommandGroup */
|
||||
const char *COMMAND_GROUP_STR[] = {
|
||||
"generic",
|
||||
"string",
|
||||
|
Loading…
Reference in New Issue
Block a user