From: Kern Sibbald Date: Sun, 27 Dec 2015 12:23:51 +0000 (+0100) Subject: Apply patch from bug #2165 to fix the update sqlite3 script X-Git-Tag: Release-7.4.0~83 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=8aca3ab7b9f10d54da12eb6c8ced5f012eb6aa79;p=bacula%2Fbacula Apply patch from bug #2165 to fix the update sqlite3 script --- diff --git a/bacula/ChangeLog b/bacula/ChangeLog index 6ffaa2fc9b..9029f06b95 100644 --- a/bacula/ChangeLog +++ b/bacula/ChangeLog @@ -3,8 +3,6 @@ Release Version 7.2.0 - - 12Aug15 - Put back missing close_msg(NULL) to flush daemon messages at job end - Add LICENSE-FOSS and update LICENSE for baculum diff --git a/bacula/src/cats/update_sqlite3_tables.in b/bacula/src/cats/update_sqlite3_tables.in index 0f1f15abf6..bd468c650a 100644 --- a/bacula/src/cats/update_sqlite3_tables.in +++ b/bacula/src/cats/update_sqlite3_tables.in @@ -3,11 +3,11 @@ # Copyright (C) 2000-2015 Kern Sibbald # License: BSD 2-Clause; see file LICENSE-FOSS # -# Shell script to update MySQL tables from Bacula Community version +# Shell script to update SQLite tables from Bacula Community version # 5.0.x, 5.2.x, 7.0.x # echo " " -echo "This script will update a Bacula MySQL database from version 12-14 to 15" +echo "This script will update a Bacula SQLite database from version 12-14 to 15" echo " " echo "Depending on the current version of your catalog, you may have to run this script" echo " multiple times" @@ -76,19 +76,70 @@ fi if [ "$DBVERSION" = 14 ] ; then sqlite3 $* ${db_name}.db <