remove kv_remove prefix and prefetch

This commit is contained in:
alex.sharov 2021-05-02 10:53:19 +07:00
parent 2e2e3835aa
commit 8a74b65ba2

View File

@ -273,14 +273,6 @@ func (tx *remoteTx) Rollback() {
tx.closeGrpcStream()
}
func (c *remoteCursor) Prefix(v []byte) Cursor {
return c
}
func (c *remoteCursor) Prefetch(v uint) Cursor {
return c
}
func (tx *remoteTx) GetOne(bucket string, key []byte) (val []byte, err error) {
c, _ := tx.Cursor(bucket)
defer c.Close()