From: Scott Barninger Date: Sun, 7 Feb 2010 19:42:50 +0000 (-0500) Subject: Fix Mysql database upgrade. X-Git-Tag: Release-5.0.1~120 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a41e61ddcd6be3395b4f31d56a68d4a8f936b9c0;p=bacula%2Fbacula Fix Mysql database upgrade. --- diff --git a/bacula/platforms/redhat/bacula.spec b/bacula/platforms/redhat/bacula.spec index 4392619072..c8d63feb44 100644 --- a/bacula/platforms/redhat/bacula.spec +++ b/bacula/platforms/redhat/bacula.spec @@ -1218,7 +1218,7 @@ if [ -z "$DB_VER" ]; then %{script_dir}/make_mysql_tables # check to see if we need to upgrade a 3.x database -elif [ "$DB_VER" -lt "11" ]; then +elif [ "$DB_VER" -lt "12" ]; then echo "This release requires an upgrade to your bacula database." echo "Backing up your current database..." mysqldump -f --opt bacula | bzip2 > %{working_dir}/bacula_backup.sql.bz2 @@ -1449,6 +1449,8 @@ echo "The database update scripts were installed to %{script_dir}/updatedb" %endif %changelog +* Sun Feb 07 2010 D. Scott Barninger +- fix mysql database upgrade * Fri Feb 05 2010 D. Scott Barninger - fix permissions of dbcheck - misc. cleanup