Browse Source

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
pull/2503/head
Anel Husakovic 3 years ago
committed by Andrew Hutchings
parent
commit
4878891193
  1. 3
      client/mysql_upgrade.c

3
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;
}

Loading…
Cancel
Save