Fixed alerting bug for mysql (#6375)

This commit is contained in:
Utkarsh Bhatnagar 2016-10-25 05:52:20 -07:00 committed by Torkel Ödegaard
parent b45bd07032
commit b382d17e34

View File

@ -30,7 +30,10 @@ func (db *Mysql) AutoIncrStr() string {
}
func (db *Mysql) BooleanStr(value bool) string {
return strconv.FormatBool(value)
if value {
return "1"
}
return "0"
}
func (db *Mysql) SqlType(c *Column) string {