Skip to content

Commit

Permalink
refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
xiongjiwei committed Dec 14, 2022
1 parent 3578a7f commit 5302ce6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions expression/builtin_json.go
Original file line number Diff line number Diff line change
Expand Up @@ -790,11 +790,11 @@ func (b *builtinJSONMemberOfSig) evalInt(row chunk.Row) (res int64, isNull bool,
target = types.CreateBinaryJSON(eval.GetValue())
} else {
target, isNull, err = b.args[0].EvalJSON(b.ctx, row)
if isNull || err != nil {
return res, isNull, err
}
}

if isNull || err != nil {
return res, isNull, err
}
obj, isNull, err := b.args[1].EvalJSON(b.ctx, row)
if isNull || err != nil {
return res, isNull, err
Expand Down

0 comments on commit 5302ce6

Please sign in to comment.