Commit 9ea2f9f6 authored by johnnyjoy's avatar johnnyjoy

fix: linter

parent ed23cbc0
...@@ -512,7 +512,7 @@ func (c *CommonSQLConverter) handleBooleanComparison(ctx *ConvertContext, field, ...@@ -512,7 +512,7 @@ func (c *CommonSQLConverter) handleBooleanComparison(ctx *ConvertContext, field,
return err return err
} }
return nil return nil
} else { }
// Other fields use IS TRUE / NOT(... IS TRUE) // Other fields use IS TRUE / NOT(... IS TRUE)
var sqlExpr string var sqlExpr string
if operator == "=" { if operator == "=" {
...@@ -533,7 +533,6 @@ func (c *CommonSQLConverter) handleBooleanComparison(ctx *ConvertContext, field, ...@@ -533,7 +533,6 @@ func (c *CommonSQLConverter) handleBooleanComparison(ctx *ConvertContext, field,
} }
return nil return nil
} }
}
// Special handling for MySQL - use raw operator with CAST // Special handling for MySQL - use raw operator with CAST
if _, ok := c.dialect.(*MySQLDialect); ok { if _, ok := c.dialect.(*MySQLDialect); ok {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment