mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-11-29 18:38:44 +08:00
Remove unused iterator initialization (#24743)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
bede8f6171
commit
b77bee6708
@ -170,7 +170,6 @@ func (kv *RocksdbKV) LoadBytesWithPrefix(prefix string) ([]string, [][]byte, err
|
||||
option := gorocksdb.NewDefaultReadOptions()
|
||||
defer option.Destroy()
|
||||
|
||||
NewRocksIterator(kv.DB, option)
|
||||
iter := NewRocksIteratorWithUpperBound(kv.DB, typeutil.AddOne(prefix), option)
|
||||
defer iter.Close()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user