mirror of
https://github.com/fluencelabs/redis
synced 2025-06-23 05:51:34 +00:00
Fix typo
This commit is contained in:
committed by
Salvatore Sanfilippo
parent
94b3ee6142
commit
93238575f7
@ -467,7 +467,7 @@ int raxGenericInsert(rax *rax, unsigned char *s, size_t len, void *data, void **
|
||||
/* If the node we stopped at is a compressed node, we need to
|
||||
* split it before to continue.
|
||||
*
|
||||
* Splitting a compressed node have a few possibile cases.
|
||||
* 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
|
||||
* nodes A -> N -> N -> I -> B -> A -> L -> E with the only child
|
||||
@ -749,7 +749,7 @@ int raxGenericInsert(rax *rax, unsigned char *s, size_t len, void *data, void **
|
||||
cp = raxNodeLastChildPtr(trimmed);
|
||||
memcpy(cp,&postfix,sizeof(postfix));
|
||||
|
||||
/* Finish! We don't need to contine with the insertion
|
||||
/* Finish! We don't need to continue with the insertion
|
||||
* algorithm for ALGO 2. The key is already inserted. */
|
||||
rax->numele++;
|
||||
rax_free(h);
|
||||
|
Reference in New Issue
Block a user