From 951a82ed913240db6e9f21587751588446c67ad4 Mon Sep 17 00:00:00 2001 From: "7u83@mail.ru" <7u83@mail.ru@noemail.net> Date: Sun, 27 Mar 2016 08:56:55 +0000 Subject: [PATCH] Updates ac_name. FossilOrigin-Name: d710b6d1d4550530467e7b2816b1953f669fd46f3dc755e4816170ad7e5c4045 --- src/ac/db.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ac/db.c b/src/ac/db.c index 2d36e56d..c3ec0006 100644 --- a/src/ac/db.c +++ b/src/ac/db.c @@ -89,7 +89,7 @@ int db_start() const char *sql=""; sqlite3_stmt *stmt; - int rc = sqlite3_prepare_v2(handle, "INSERT INTO acs (acid,acname) VALUES (?,?);",-1,&stmt,0); + int rc = sqlite3_prepare_v2(handle, "INSERT OR REPLACE INTO acs (acid,acname) VALUES (?,?);",-1,&stmt,0); if (rc) goto errX;