Merge pull request #1990 from molecula/FB-1281

FB-1281: FeatureBase crashes when Row call with "==" in Delete
This commit is contained in:
rachithrr 2022-03-21 16:49:09 -05:00 • committed by GitHub
commit 1230e4127c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8291,6 +8291,9 @@ func (e *executor) executeDeleteRecordFromShard(ctx context.Context, index strin
//bmCall is a bitmap
row, err := e.executeBitmapCallShard(ctx, qcx, index, bmCall, shard)
qcx.Abort()
if err != nil {
return false, err
}
if len(row.segments) == 0 {
return
}