mirror of
https://github.com/featurebasedb/featurebase.git
synced 2026-09-12 07:41:02 +00:00
fixed reset method on btree plugin
This commit is contained in:
parent
643e5e575a
commit
22a546095a
1 changed files with 2 additions and 0 deletions
|
|
@ -162,6 +162,8 @@ func (btc *BTreeContainers) Size() int {
|
|||
|
||||
func (btc *BTreeContainers) Reset() {
|
||||
btc.tree = TreeNew(cmp)
|
||||
btc.lastKey = 0
|
||||
btc.lastContainer = nil
|
||||
}
|
||||
|
||||
func (btc *BTreeContainers) Iterator(key uint64) (citer roaring.ContainerIterator, found bool) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue