mirror of
https://codeberg.org/redict/redict.git
synced 2025-01-22 16:18:28 -05:00
ACL: update comments in command flags.
This commit is contained in:
parent
e97481d4f4
commit
711e514ea4
28
src/server.h
28
src/server.h
@ -202,20 +202,22 @@ typedef long long mstime_t; /* millisecond time type. */
|
|||||||
|
|
||||||
/* Command flags. Please check the command table defined in the redis.c file
|
/* Command flags. Please check the command table defined in the redis.c file
|
||||||
* for more information about the meaning of every flag. */
|
* for more information about the meaning of every flag. */
|
||||||
#define CMD_WRITE (1<<0) /* "w" flag */
|
#define CMD_WRITE (1<<0) /* "write" flag */
|
||||||
#define CMD_READONLY (1<<1) /* "r" flag */
|
#define CMD_READONLY (1<<1) /* "read-only" flag */
|
||||||
#define CMD_DENYOOM (1<<2) /* "m" flag */
|
#define CMD_DENYOOM (1<<2) /* "use-memory" flag */
|
||||||
#define CMD_MODULE (1<<3) /* Command exported by module. */
|
#define CMD_MODULE (1<<3) /* Command exported by module. */
|
||||||
#define CMD_ADMIN (1<<4) /* "a" flag */
|
#define CMD_ADMIN (1<<4) /* "admin" flag */
|
||||||
#define CMD_PUBSUB (1<<5) /* "p" flag */
|
#define CMD_PUBSUB (1<<5) /* "pub-sub" flag */
|
||||||
#define CMD_NOSCRIPT (1<<6) /* "s" flag */
|
#define CMD_NOSCRIPT (1<<6) /* "no-script" flag */
|
||||||
#define CMD_RANDOM (1<<7) /* "R" flag */
|
#define CMD_RANDOM (1<<7) /* "random" flag */
|
||||||
#define CMD_SORT_FOR_SCRIPT (1<<8) /* "S" flag */
|
#define CMD_SORT_FOR_SCRIPT (1<<8) /* "to-sort" flag */
|
||||||
#define CMD_LOADING (1<<9) /* "l" flag */
|
#define CMD_LOADING (1<<9) /* "ok-loading" flag */
|
||||||
#define CMD_STALE (1<<10) /* "t" flag */
|
#define CMD_STALE (1<<10) /* "ok-stale" flag */
|
||||||
#define CMD_SKIP_MONITOR (1<<11) /* "M" flag */
|
#define CMD_SKIP_MONITOR (1<<11) /* "no-monitor" flag */
|
||||||
#define CMD_ASKING (1<<12) /* "k" flag */
|
#define CMD_ASKING (1<<12) /* "cluster-asking" flag */
|
||||||
#define CMD_FAST (1<<13) /* "F" flag */
|
#define CMD_FAST (1<<13) /* "fast" flag */
|
||||||
|
|
||||||
|
/* Command flags used by the module system. */
|
||||||
#define CMD_MODULE_GETKEYS (1<<14) /* Use the modules getkeys interface. */
|
#define CMD_MODULE_GETKEYS (1<<14) /* Use the modules getkeys interface. */
|
||||||
#define CMD_MODULE_NO_CLUSTER (1<<15) /* Deny on Redis Cluster. */
|
#define CMD_MODULE_NO_CLUSTER (1<<15) /* Deny on Redis Cluster. */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user