diff --git a/src/acl.c b/src/acl.c index 6b874c91f..3b2178448 100644 --- a/src/acl.c +++ b/src/acl.c @@ -44,7 +44,7 @@ user *DefaultUser; /* Global reference to the default user. different user. */ list *UsersToLoad; /* This is a list of users found in the configuration file - that we'll need to load in the final stage of Redis + that we'll need to load in the final stage of the server initialization, after all the modules are already loaded. Every list element is a NULL terminated array of SDS pointers: the first is the user name, diff --git a/src/crccombine.c b/src/crccombine.c index 4d9a18c65..0913fa9b9 100644 --- a/src/crccombine.c +++ b/src/crccombine.c @@ -176,7 +176,7 @@ static void gf2_matrix_square(uint64_t *square, uint64_t *mat, uint8_t dim) { square[n] = CRC_MULTIPLY(mat, mat[n]); } -/* Turns out our Redis / Jones CRC cycles at this point, so we can support +/* Turns out our Jones CRC cycles at this point, so we can support * more than 64 bits of extension if we want. Trivially. */ static uint64_t combine_cache[64][64]; @@ -204,7 +204,7 @@ void init_combine_cache(uint64_t poly, uint8_t dim) { gf2_matrix_square(combine_cache[1], combine_cache[0], dim); /* do/while to overwrite the first two layers, they are not used, but are - * re-generated in the last two layers for the Redis polynomial */ + * re-generated in the last two layers for the crc polynomial */ do { gf2_matrix_square(combine_cache[cache_num], combine_cache[cache_num + prev], dim); prev = -1; diff --git a/src/db.c b/src/db.c index d49d09db2..f5aebf896 100644 --- a/src/db.c +++ b/src/db.c @@ -2083,7 +2083,9 @@ int getKeysUsingKeySpecs(struct serverCommand *cmd, robj **argv, int argc, int s if (cmd->flags & CMD_MODULE || cmd->arity < 0) { continue; } else { - serverPanic("Redis built-in command declared keys positions not matching the arity requirements."); + serverPanic("%s built-in command declared keys positions" + " not matching the arity requirements.", + server.extended_redis_compat ? "Redis" : "Valkey"); } } keys[result->numkeys].pos = i; @@ -2276,7 +2278,9 @@ int getKeysUsingLegacyRangeSpec(struct serverCommand *cmd, robj **argv, int argc result->numkeys = 0; return 0; } else { - serverPanic("Redis built-in command declared keys positions not matching the arity requirements."); + serverPanic("%s built-in command declared keys positions" + " not matching the arity requirements.", + server.extended_redis_compat ? "Redis" : "Valkey"); } } keys[i].pos = j;