old mysql patch ?

This commit is contained in:
ycc 2023-09-26 14:57:30 +02:00
parent 19e7157c7b
commit 8398abca7d

2
db.go
View File

@ -152,7 +152,7 @@ func (db *Db) QueryAssociativeArray(query string) (Rows, error) {
m[colName] = false
}
case "VARCHAR", "TEXT", "TIMESTAMP":
case "VARCHAR", "TEXT", "TIMESTAMP", "VARBINARY":
m[colName] = fmt.Sprintf("%s", *val)
default:
if reflect.ValueOf(val).IsNil() {