Fix a bug that prevented early termination of query matches
This commit is contained in:
parent
d9b8bae629
commit
a6b6a681ec
3 changed files with 106 additions and 33 deletions
|
|
@ -272,7 +272,7 @@ TSFieldId ts_tree_cursor_current_status(
|
|||
}
|
||||
}
|
||||
|
||||
if (ts_subtree_child_count(*parent_entry->subtree) > entry->child_index) {
|
||||
if (ts_subtree_child_count(*parent_entry->subtree) > entry->child_index + 1) {
|
||||
*can_have_later_siblings = true;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue