Unverified Commit f3df3ec1 authored by HarveyLiu's avatar HarveyLiu Committed by GitHub
Browse files

fix misleading typo hasActiveChildProcess doc comment (#7588)

and a misspell in rax.c
parent 79c506eb
...@@ -554,7 +554,7 @@ int raxGenericInsert(rax *rax, unsigned char *s, size_t len, void *data, void ** ...@@ -554,7 +554,7 @@ int raxGenericInsert(rax *rax, unsigned char *s, size_t len, void *data, void **
* *
* Splitting a compressed node have a few possible cases. * Splitting a compressed node have a few possible cases.
* Imagine that the node 'h' we are currently at is a compressed * Imagine that the node 'h' we are currently at is a compressed
* node contaning the string "ANNIBALE" (it means that it represents * node containing the string "ANNIBALE" (it means that it represents
* nodes A -> N -> N -> I -> B -> A -> L -> E with the only child * nodes A -> N -> N -> I -> B -> A -> L -> E with the only child
* pointer of this node pointing at the 'E' node, because remember that * pointer of this node pointing at the 'E' node, because remember that
* we have characters at the edges of the graph, not inside the nodes * we have characters at the edges of the graph, not inside the nodes
......
...@@ -1479,7 +1479,7 @@ void updateDictResizePolicy(void) { ...@@ -1479,7 +1479,7 @@ void updateDictResizePolicy(void) {
dictDisableResize(); dictDisableResize();
} }
/* Return true if there are no active children processes doing RDB saving, /* Return true if there are active children processes doing RDB saving,
* AOF rewriting, or some side process spawned by a loaded module. */ * AOF rewriting, or some side process spawned by a loaded module. */
int hasActiveChildProcess() { int hasActiveChildProcess() {
return server.rdb_child_pid != -1 || return server.rdb_child_pid != -1 ||
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment