From 9ee9d66b7c7c8e1c4e5b70ccaf5dae74b31a91f9 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Wed, 28 Aug 2024 13:00:35 +0200 Subject: schema: incorrect error log fix incorrect error report when updating table. --- src/schema.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/schema.c b/src/schema.c index a41f062..182f992 100644 --- a/src/schema.c +++ b/src/schema.c @@ -253,7 +253,7 @@ static int og_dbi_schema_v5(struct og_dbi *dbi) "ADD `permissions` int DEFAULT '0' AFTER `lastupdate`;"); if (!result) { dbi_conn_error(dbi->conn, &msglog); - syslog(LOG_INFO, "Error when adding identorno (%s:%d) %s\n", + syslog(LOG_INFO, "Error when updating imagenes table (%s:%d) %s\n", __func__, __LINE__, msglog); return -1; } @@ -288,7 +288,7 @@ static int og_dbi_schema_v6(struct og_dbi *dbi) ") AUTO_INCREMENT=1;"); if (!result) { dbi_conn_error(dbi->conn, &msglog); - syslog(LOG_INFO, "Error when adding identorno (%s:%d) %s\n", + syslog(LOG_INFO, "Error creating table cache (%s:%d) %s\n", __func__, __LINE__, msglog); return -1; } -- cgit v1.2.3-18-g5258