Skip to content

Commit

Permalink
executor: fix error check in EvalSubquery (#11802) (#11810)
Browse files Browse the repository at this point in the history
  • Loading branch information
sre-bot authored Aug 21, 2019
1 parent 48a3574 commit e044829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion executor/executor.go
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ func init() {
e := &executorBuilder{is: is, ctx: sctx}
exec := e.build(p)
if e.err != nil {
return rows, err
return rows, e.err
}
err = exec.Open(ctx)
defer terror.Call(exec.Close)
Expand Down

0 comments on commit e044829

Please sign in to comment.