enterprise-support team mailing list archive
-
enterprise-support team
-
Mailing list archive
-
Message #08852
[Bug 1973793] [NEW] expire_logs_days returns a float, but is compared as int (l. 592)
Public bug reported:
mysql_variable \'expire_logs_days\' expire_logs_days
returns a float (e.g. 4.00000)
later compared to 0 in
if [ "$expire_logs_days" -eq 0 ] ; then
/usr/local/bin/tuning-primer.sh: ligne 592 : [: 4.000000 : nombre entier
attendu comme expression
earlier versions use to crash here, but we were used to fix this with a flot2int call
this function has been removed in current version, which fortunately does not crash anymore here
thanks a lot for the great work on tuning_primer.sh
** Affects: mysql-tuning-primer
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Server/Client Support Team, which is subscribed to MySQL.
Matching subscriptions: Ubuntu Server/Client Support Team
https://bugs.launchpad.net/bugs/1973793
Title:
expire_logs_days returns a float, but is compared as int (l. 592)
To manage notifications about this bug go to:
https://bugs.launchpad.net/mysql-tuning-primer/+bug/1973793/+subscriptions