old mysql patch ?
This commit is contained in:
parent
19e7157c7b
commit
8398abca7d
2
db.go
2
db.go
@ -152,7 +152,7 @@ func (db *Db) QueryAssociativeArray(query string) (Rows, error) {
|
|||||||
m[colName] = false
|
m[colName] = false
|
||||||
}
|
}
|
||||||
|
|
||||||
case "VARCHAR", "TEXT", "TIMESTAMP":
|
case "VARCHAR", "TEXT", "TIMESTAMP", "VARBINARY":
|
||||||
m[colName] = fmt.Sprintf("%s", *val)
|
m[colName] = fmt.Sprintf("%s", *val)
|
||||||
default:
|
default:
|
||||||
if reflect.ValueOf(val).IsNil() {
|
if reflect.ValueOf(val).IsNil() {
|
||||||
|
Loading…
Reference in New Issue
Block a user