Skip to content

Commit

Permalink
fix issue:pingcap#11102
Browse files Browse the repository at this point in the history
                                                            Unexcepted result in `SELECT ... CASE WHEN ... ELSE NULL...`
  • Loading branch information
lovewin99 committed Jul 6, 2019
1 parent 7b00dbb commit f933936
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions expression/constant_fold.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ func init() {
}

specialNullRejectCheck = map[string]struct{}{
ast.NullEQ: struct{}{},
ast.Case: struct{}{},
ast.NullEQ: {},
ast.Case: {},
}
}

Expand Down

0 comments on commit f933936

Please sign in to comment.