From fba87e549d447b4dbff1f8ca9fddda1a43b9c608 Mon Sep 17 00:00:00 2001 From: shoopea Date: Sat, 11 May 2019 13:46:39 +0800 Subject: [PATCH] update --- sql.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql.go b/sql.go index a0e96c3..e3c08b9 100644 --- a/sql.go +++ b/sql.go @@ -1279,7 +1279,7 @@ func getObjSubTypeId(objId int64) (int64, error) { } func setObjSubTypeId(objId int64, objSubTypeID64 int64) error { - stmt, err := db.Prepare(`UPDATE obj o SET o.obj_sub_type_id = ? WHERE o.id = ?l`) + stmt, err := db.Prepare(`UPDATE obj o SET o.obj_sub_type_id = ? WHERE o.id = ?;`) logOnError(err, "setObjSubTypeId : prepare update") if err != nil { return err