Open mmtorni opened 5 years ago
When a leaf node is split, the parentkey of existing node is not updated to point to internal node. This needs to be added: bnode.setparentkey((newnode, chars[start + actlen]))
bnode.setparentkey((newnode, chars[start + actlen]))
Here's a patch to add it: suffixtree_setparentkey_on_split.patch
When a leaf node is split, the parentkey of existing node is not updated to point to internal node. This needs to be added:
bnode.setparentkey((newnode, chars[start + actlen]))
Here's a patch to add it: suffixtree_setparentkey_on_split.patch