bail out after only evaluating the first row

parent 6a2c0833
......@@ -537,7 +537,7 @@ func (r *whereRset) plan(ctx *execCtx) (plan, error) {
if len(data) > 0 {
exists = true
}
return true, nil
return false, nil
})
if err != nil {
return nil, err
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment