From d7c561aa7db96b92cff941106ecd0469ffb173f3 Mon Sep 17 00:00:00 2001 From: rachithrr Date: Mon, 21 Mar 2022 15:40:39 -0500 Subject: [PATCH] FB-1281: FeatureBase crashes when Row call with "==" in Delete - the EQ goes through HasConditionArg(), but the error wasn't caught in the case of Delete. --- executor.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/executor.go b/executor.go index c9e45e68b..4a3345393 100644 --- a/executor.go +++ b/executor.go @@ -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 }