Fix outdated comments about redis.c file.
It should now refer to server.c file.
This commit is contained in:
parent
dc18a6a6f8
commit
5fb5d82d5c
|
@ -710,7 +710,7 @@ int redis_check_rdb(char *rdbfilename) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* RDB check main: called form redis.c when Redis is executed with the
|
/* RDB check main: called form server.c when Redis is executed with the
|
||||||
* redis-check-rdb alias. */
|
* redis-check-rdb alias. */
|
||||||
int redis_check_rdb_main(char **argv, int argc) {
|
int redis_check_rdb_main(char **argv, int argc) {
|
||||||
if (argc != 2) {
|
if (argc != 2) {
|
||||||
|
|
|
@ -2011,7 +2011,7 @@ void initServer(void) {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Populates the Redis Command Table starting from the hard coded list
|
/* Populates the Redis Command Table starting from the hard coded list
|
||||||
* we have on top of redis.c file. */
|
* we have on top of server.c 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);
|
||||||
|
|
|
@ -177,7 +177,7 @@ typedef long long mstime_t; /* millisecond time type. */
|
||||||
/* 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 redis.c file
|
/* Command flags. Please check the command table defined in the server.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) /* "w" flag */
|
||||||
#define CMD_READONLY (1<<1) /* "r" flag */
|
#define CMD_READONLY (1<<1) /* "r" flag */
|
||||||
|
|
Loading…
Reference in New Issue