refactor logical experession

parent fb2f4d6d
......@@ -543,7 +543,7 @@ func (r *whereRset) plan(ctx *execCtx) (plan, error) {
if err != nil {
return nil, err
}
if r.exists && exists || !r.exists && !exists {
if r.exists == exists {
return o, nil
}
x := value{val: false}
......
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