0
0

fix up to correctly trim off separator

even though it should never be present
This commit is contained in:
Marty Schoch 2015-05-27 19:10:12 -07:00
parent a58592ceff
commit 201fb91171

View File

@ -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)