From 840b02287de5bb5b49b8ab488c7e053ea24c492c Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 11 May 2019 13:43:07 +0800 Subject: [PATCH] test --- sql.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/sql.go b/sql.go index 56808b3..a0e96c3 100644 --- a/sql.go +++ b/sql.go @@ -1279,8 +1279,6 @@ func getObjSubTypeId(objId int64) (int64, error) { } func setObjSubTypeId(objId int64, objSubTypeID64 int64) error { - var objSubTypeId int64 - stmt, err := db.Prepare(`UPDATE obj o SET o.obj_sub_type_id = ? WHERE o.id = ?l`) logOnError(err, "setObjSubTypeId : prepare update") if err != nil {