Unknown colType DOUBLE UNSIGNED (#1274)

This commit is contained in:
宋小北 2019-04-19 16:28:27 +08:00 committed by BetaCat
parent 8557fec079
commit ce804aee6c
1 changed files with 3 additions and 0 deletions

View File

@ -393,6 +393,9 @@ func (db *mysql) GetColumns(tableName string) ([]string, map[string]*core.Column
if colType == "FLOAT UNSIGNED" {
colType = "FLOAT"
}
if colType == "DOUBLE UNSIGNED" {
colType = "DOUBLE"
}
col.Length = len1
col.Length2 = len2
if _, ok := core.SqlTypes[colType]; ok {