Commit bc6310d199b144aafdcd419733ffd77efe192d31
1 parent
db0a418b
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 | 75 | } |
76 | 76 | |
77 | 77 | func DoBackUp(uuid string,info string,task string,ach string) error { |
78 | - cmd := "INSERT into hedaoshi VALUES('"+uuid +"','" + 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 update info=" + "'" + info + "', " + "task=" +"'"+ task + "', ach='" + ach +"'" | |
79 | 79 | //cmd := "INSERT into hedaoshi VALUES(" + uuid + "," + info + "," + task + "," + ach + ")" |
80 | 80 | err := ExcuteCmd(cmd) |
81 | 81 | if err != nil { | ... | ... |