-
Jean Weisbuch authored
There is a "set -e" at the beginning of the function that forces the script to stop if a command ends with a status !=0 and the "mysql" command returns with a status code !=0 if the SELECT COUNT(*) query is done on a crashed table which just stops the function before it could have logged and mailed the problematic table(s). A "set +e" has been added just before the execution of the "mysql" command so the execution will continue if a crashed table is encountered. If a crashed table was encountered, the "mysql" command will return with a status different from 0
1ea38f26