mirror of https://github.com/milvus-io/milvus.git
Remove unused iterator initialization (#24743)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>pull/24765/head
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