Skip to content
This repository has been archived by the owner on Jan 28, 2021. It is now read-only.

Commit

Permalink
Fixed an error in receiver type for String() method of IsTrue
Browse files Browse the repository at this point in the history
Signed-off-by: Zach Musgrave <zach@liquidata.co>
  • Loading branch information
zachmu committed Jul 3, 2019
1 parent 9c07fad commit bdf8233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sql/expression/istrue.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func (e *IsTrue) Eval(ctx *sql.Context, row sql.Row) (interface{}, error) {
return boolVal, nil
}

func (e IsTrue) String() string {
func (e *IsTrue) String() string {
isStr := IsTrueStr
if e.invert {
isStr = IsFalseStr
Expand Down

0 comments on commit bdf8233

Please sign in to comment.