summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnel Husakovic <anel@mariadb.org>2023-02-08 03:18:14 +0100
committerAndrew Hutchings <andrew@linuxjedi.co.uk>2023-02-17 13:43:43 +0000
commit487889119386cdab9923c570e0eb23b6c7e002ea (patch)
tree48f3cf78240fbe1e762523fb4d7419b4d7220fad
parent560c15c44be665e5d73194d84411c69acf8606a1 (diff)
downloadmariadb-git-487889119386cdab9923c570e0eb23b6c7e002ea.tar.gz
MDBF-534: Coverity scan: fix client folder
--------------------------------- File: `mysqladmin` --------------------------------- - Coverity (PRINTF_ARGS): https://scan5.scan.coverity.com/reports.htm#v58936/p10357/fileInstanceId=231728412&defectInstanceId=53073308&mergedDefectId=1520228&eventId=53073308-0 `mysql_upgrade` - extra argument to printf format specifiera - Coverity (TAINTED_SCALAR) - FAlSE POSITIVE: https://scan5.scan.coverity.com/reports.htm#v58936/p10357/fileInstanceId=231728412&defectInstanceId=53072897&mergedDefectId=1519349
-rw-r--r--client/mysql_upgrade.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/client/mysql_upgrade.c b/client/mysql_upgrade.c
index cd70f14e94a..99c9e7415a7 100644
--- a/client/mysql_upgrade.c
+++ b/client/mysql_upgrade.c
@@ -848,8 +848,7 @@ static int upgrade_already_done(int silent)
"There is no need to run mysql_upgrade again for %s.",
upgrade_from_version, version);
if (!opt_check_upgrade)
- verbose("You can use --force if you still want to run mysql_upgrade",
- upgrade_from_version, version);
+ verbose("You can use --force if you still want to run mysql_upgrade");
}
return 0;
}