diff --git a/expression/constant_fold.go b/expression/constant_fold.go index 30280a3ba133d..2437b269e31b6 100644 --- a/expression/constant_fold.go +++ b/expression/constant_fold.go @@ -33,8 +33,8 @@ func init() { } specialNullRejectCheck = map[string]struct{}{ - ast.NullEQ: struct{}{}, - ast.Case: struct{}{}, + ast.NullEQ: {}, + ast.Case: {}, } }