Merge branch 'master' into tgruben-patch-1

This commit is contained in:
tgruben 2021-11-30 18:48:41 -06:00 committed by GitHub
commit 740f3e2838
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2485,7 +2485,7 @@ func (f *fragment) importPositions(tx Tx, set, clear []uint64, rowSet map[uint64
err = doFunc()
}
if err != nil {
if err != nil && f.storage != nil {
// we got an error. it's possible that the error indicates that something went wrong.
mappedIn, mappedOut, unmappedIn, errs, e2 := f.storage.SanityCheckMapping(f.currdata.from, f.currdata.to)
if errs != 0 {