diff options
author | Binbin <binloveplay1314@qq.com> | 2022-05-26 22:34:17 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-26 17:34:17 +0300 |
commit | 6f7c1a8ce6861fb382f8313d07a6e2a13217a690 (patch) | |
tree | 39ab51a660f2e44ee1d1b95edb9f238fe6406d7f | |
parent | f28e2ce7a4cf4a82d367c106eee4b3113b85bcbf (diff) | |
download | redis-6f7c1a8ce6861fb382f8313d07a6e2a13217a690.tar.gz |
Fix outdated comment about flags in moduleCreateArgvFromUserFormat (#10781)
Clearly more than one flag exists, also fixed some typos.
Fixes #10776
-rw-r--r-- | src/functions.c | 2 | ||||
-rw-r--r-- | src/module.c | 2 | ||||
-rw-r--r-- | tests/README.md | 2 | ||||
-rw-r--r-- | tests/unit/tracking.tcl | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/functions.c b/src/functions.c index c40761865..f52566b82 100644 --- a/src/functions.c +++ b/src/functions.c @@ -325,7 +325,7 @@ static void libraryLink(functionsLibCtx *lib_ctx, functionLibInfo* li) { /* Takes all libraries from lib_ctx_src and add to lib_ctx_dst. * On collision, if 'replace' argument is true, replace the existing library with the new one. * Otherwise abort and leave 'lib_ctx_dst' and 'lib_ctx_src' untouched. - * Return C_OK on success and C_ERR if aborted. If C_ERR is retunred, set a relevant + * Return C_OK on success and C_ERR if aborted. If C_ERR is returned, set a relevant * error message on the 'err' out parameter. * */ static int libraryJoin(functionsLibCtx *functions_lib_ctx_dst, functionsLibCtx *functions_lib_ctx_src, int replace, sds *err) { diff --git a/src/module.c b/src/module.c index e0f032f74..84c10cdc9 100644 --- a/src/module.c +++ b/src/module.c @@ -5549,7 +5549,7 @@ RedisModuleString *RM_CreateStringFromCallReply(RedisModuleCallReply *reply) { * items and *argvlenp with the length of the allocated argv. * * The integer pointed by 'flags' is populated with flags according - * to special modifiers in "fmt". For now only one exists: + * to special modifiers in "fmt". * * "!" -> REDISMODULE_ARGV_REPLICATE * "A" -> REDISMODULE_ARGV_NO_AOF diff --git a/tests/README.md b/tests/README.md index bdacbb9fe..4b2251bc5 100644 --- a/tests/README.md +++ b/tests/README.md @@ -38,7 +38,7 @@ The following compatibility and capability tags are currently used: | `external:skip` | Not compatible with external servers. | | `cluster:skip` | Not compatible with `--cluster-mode`. | | `large-memory` | Test that requires more than 100mb | -| `tls:skip` | Not campatible with `--tls`. | +| `tls:skip` | Not compatible with `--tls`. | | `needs:repl` | Uses replication and needs to be able to `SYNC` from server. | | `needs:debug` | Uses the `DEBUG` command or other debugging focused commands (like `OBJECT`). | | `needs:pfdebug` | Uses the `PFDEBUG` command. | diff --git a/tests/unit/tracking.tcl b/tests/unit/tracking.tcl index 678cd3f3f..140656acf 100644 --- a/tests/unit/tracking.tcl +++ b/tests/unit/tracking.tcl @@ -369,7 +369,7 @@ start_server {tags {"tracking network"}} { $r CLIENT TRACKING OFF } - test {hdel deliver invlidate message after response in the same connection} { + test {hdel deliver invalidate message after response in the same connection} { r CLIENT TRACKING off r HELLO 3 r CLIENT TRACKING on |