Commit a6f62f33ca88536dea8168c0321d82de947bd00f
1 parent
bc6310d1
Exists in
master
提交
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/mysql/dbmysql.go
@@ -75,7 +75,7 @@ func TestClearData(uid int) (int,error) { | @@ -75,7 +75,7 @@ func TestClearData(uid int) (int,error) { | ||
75 | } | 75 | } |
76 | 76 | ||
77 | func DoBackUp(uuid string,info string,task string,ach string) error { | 77 | func DoBackUp(uuid string,info string,task string,ach string) error { |
78 | - cmd := "INSERT into hedaoshi VALUES('"+uuid +"','" + info + "','" + task +"','"+ ach + "') ON DUPLICATE KEY UPDATE update info=" + "'" + info + "', " + "task=" +"'"+ task + "', ach='" + ach +"'" | 78 | + cmd := "INSERT into hedaoshi VALUES('"+uuid +"','" + info + "','" + task +"','"+ ach + "') ON DUPLICATE KEY UPDATE info=" + "'" + info + "', " + "task=" +"'"+ task + "', ach='" + ach +"'" |
79 | //cmd := "INSERT into hedaoshi VALUES(" + uuid + "," + info + "," + task + "," + ach + ")" | 79 | //cmd := "INSERT into hedaoshi VALUES(" + uuid + "," + info + "," + task + "," + ach + ")" |
80 | err := ExcuteCmd(cmd) | 80 | err := ExcuteCmd(cmd) |
81 | if err != nil { | 81 | if err != nil { |