From 8398abca7df159d3f736c49756d130cfcc598eb7 Mon Sep 17 00:00:00 2001 From: ycc Date: Tue, 26 Sep 2023 14:57:30 +0200 Subject: [PATCH] old mysql patch ? --- db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.go b/db.go index 11f5fba..2df4591 100755 --- a/db.go +++ b/db.go @@ -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() {