optimize_mysql_tables.sh: minor changes.

This commit is contained in:
Christoph 2018-08-31 03:28:07 +02:00
parent 0fc3ec06be
commit 9525f9c624

View File

@ -180,6 +180,7 @@ if [ -z "$mysql" ]; then
fi fi
fi fi
# ------------- # -------------
# - Read Commandline Parameters # - Read Commandline Parameters
# ------------- # -------------
@ -331,7 +332,6 @@ for _val in ${mysql_credential_args_arr[@]} ; do
echo -e " [$(date)] error: Repairing table '$table' failed of database \"$db\" failed..\n$(cat "$tmp_log_file")" >> $log_file echo -e " [$(date)] error: Repairing table '$table' failed of database \"$db\" failed..\n$(cat "$tmp_log_file")" >> $log_file
echo "" >> $log_file echo "" >> $log_file
else else
echo -e " [$(date)] Optimize table '$table'" >> $log_file echo -e " [$(date)] Optimize table '$table'" >> $log_file