fix up to correctly trim off separator
even though it should never be present
This commit is contained in:
parent
a58592ceff
commit
201fb91171
|
@ -530,6 +530,7 @@ func NewBackIndexRowKV(key, value []byte) (*BackIndexRow, error) {
|
|||
if err != nil && err != io.EOF {
|
||||
return nil, err
|
||||
}
|
||||
rv.doc = rv.doc[:len(rv.doc)-1] // trim off separator byte
|
||||
|
||||
var birv BackIndexRowValue
|
||||
err = proto.Unmarshal(value, &birv)
|
||||
|
|
Loading…
Reference in New Issue
Block a user