fix misleading typo hasActiveChildProcess doc comment (#7588)
and a misspell in rax.c
This commit is contained in:
parent
79c506ebf0
commit
f3df3ec134
@ -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.
|
||||
* 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
|
||||
* 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
|
||||
|
@ -1479,7 +1479,7 @@ void updateDictResizePolicy(void) {
|
||||
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. */
|
||||
int hasActiveChildProcess() {
|
||||
return server.rdb_child_pid != -1 ||
|
||||
|
Loading…
x
Reference in New Issue
Block a user