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
786d6d55
Unverified
Commit
786d6d55
authored
Oct 18, 2020
by
Tommy Joe Lund
Committed by
GitHub
Oct 18, 2020
Browse files
Fix typo in server.h (#7921)
parent
19418b6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server.h
View file @
786d6d55
...
@@ -214,7 +214,7 @@ extern int configOOMScoreAdjValuesDefaults[CONFIG_OOM_COUNT];
...
@@ -214,7 +214,7 @@ extern int configOOMScoreAdjValuesDefaults[CONFIG_OOM_COUNT];
#define AOF_WAIT_REWRITE 2
/* AOF waits rewrite to start appending */
#define AOF_WAIT_REWRITE 2
/* AOF waits rewrite to start appending */
/* Client flags */
/* Client flags */
#define CLIENT_SLAVE (1<<0)
/* This client is a repli
a
ca */
#define CLIENT_SLAVE (1<<0)
/* This client is a replica */
#define CLIENT_MASTER (1<<1)
/* This client is a master */
#define CLIENT_MASTER (1<<1)
/* This client is a master */
#define CLIENT_MONITOR (1<<2)
/* This client is a slave monitor, see MONITOR */
#define CLIENT_MONITOR (1<<2)
/* This client is a slave monitor, see MONITOR */
#define CLIENT_MULTI (1<<3)
/* This client is in a MULTI context */
#define CLIENT_MULTI (1<<3)
/* This client is in a MULTI context */
...
@@ -1967,7 +1967,7 @@ void addACLLogEntry(client *c, int reason, int keypos, sds username);
...
@@ -1967,7 +1967,7 @@ void addACLLogEntry(client *c, int reason, int keypos, sds username);
#define ZADD_INCR (1<<0)
/* Increment the score instead of setting it. */
#define ZADD_INCR (1<<0)
/* Increment the score instead of setting it. */
#define ZADD_NX (1<<1)
/* Don't touch elements not already existing. */
#define ZADD_NX (1<<1)
/* Don't touch elements not already existing. */
#define ZADD_XX (1<<2)
/* Only touch elements already existing. */
#define ZADD_XX (1<<2)
/* Only touch elements already existing. */
#define ZADD_GT (1<<7)
/* Only update existing when new scores are higher. */
#define ZADD_GT (1<<7)
/* Only update existing when new scores are higher. */
#define ZADD_LT (1<<8)
/* Only update existing when new scores are lower. */
#define ZADD_LT (1<<8)
/* Only update existing when new scores are lower. */
/* Output flags. */
/* Output flags. */
...
...
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