0
0

upside_down: simplify return code in batchRows()

This commit is contained in:
Patrick Mezard 2015-10-09 09:57:12 +02:00
parent c0335e9fe4
commit aee82f8b49

View File

@ -150,11 +150,7 @@ func (udc *UpsideDownCouch) batchRows(writer store.KVWriter, addRows []UpsideDow
}
// write out the batch
err = wb.Execute()
if err != nil {
return
}
return
return wb.Execute()
}
func (udc *UpsideDownCouch) DocCount() (uint64, error) {