expire_logs_days returns a float, but is compared as int (l. 592)
Bug #1973793 reported by
Sylvain Roche
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Tuning Primer Script |
New
|
Undecided
|
Unassigned |
Bug Description
mysql_variable \'expire_
returns a float (e.g. 4.00000)
later compared to 0 in
if [ "$expire_logs_days" -eq 0 ] ; then
/usr/local/
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
To post a comment you must log in.