From: Scott Barninger Date: Sun, 7 Feb 2010 19:42:50 +0000 (-0500) Subject: Fix Mysql database upgrade. X-Git-Tag: Release-5.2.1~1799 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=40cd9bf6552e7f82e316f249d3bd8534bdac819a;p=bacula%2Fbacula Fix Mysql database upgrade. --- diff --git a/bacula/platforms/redhat/bacula.spec b/bacula/platforms/redhat/bacula.spec index 25f1fa30d2..20e579595d 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