From 9ea0b58c7e3680f535d4bc01fbcdce763d4efd2c Mon Sep 17 00:00:00 2001 From: shenli Date: Thu, 22 Oct 2015 14:13:33 +0800 Subject: [PATCH] expression: Fix bug found in sqllogictest-aggregates --- expression/in.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expression/in.go b/expression/in.go index f958dbba54..1523aa348b 100644 --- a/expression/in.go +++ b/expression/in.go @@ -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 }