expression: Fix bug found in sqllogictest-aggregates

This commit is contained in:
shenli
2015-10-22 14:13:33 +08:00
parent 7329f8a6a8
commit 9ea0b58c7e

View File

@ -137,7 +137,7 @@ func (n *PatternIn) Eval(ctx context.Context, args map[interface{}]interface{})
return nil, err
}
if lhs == nil {
if types.IsNil(lhs) {
return nil, nil
}