From c6a908ea71899728ae37a8ba027e41c4df12dff1 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 21 Mar 2008 13:46:31 +0000 Subject: [PATCH] ebl Move 9 to 10 scripts to updatedb git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6656 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/cats/update_mysql_tables.in | 62 +---- bacula/src/cats/update_postgresql_tables.in | 71 +---- bacula/src/cats/update_sqlite3_tables.in | 237 +--------------- bacula/src/cats/update_sqlite_tables.in | 237 +--------------- bacula/technotes-2.3 | 2 + .../updatedb/update_mysql_tables_10_to_11.in | 77 ++++++ .../update_postgresql_tables_10_to_11.in | 84 ++++++ .../update_sqlite3_tables_10_to_11.in | 252 ++++++++++++++++++ .../updatedb/update_sqlite_tables_10_to_11.in | 252 ++++++++++++++++++ 9 files changed, 692 insertions(+), 582 deletions(-) mode change 100755 => 100644 bacula/src/cats/update_mysql_tables.in mode change 100755 => 100644 bacula/src/cats/update_postgresql_tables.in mode change 100755 => 100644 bacula/src/cats/update_sqlite3_tables.in mode change 100755 => 100644 bacula/src/cats/update_sqlite_tables.in create mode 100755 bacula/updatedb/update_mysql_tables_10_to_11.in create mode 100755 bacula/updatedb/update_postgresql_tables_10_to_11.in create mode 100755 bacula/updatedb/update_sqlite3_tables_10_to_11.in create mode 100755 bacula/updatedb/update_sqlite_tables_10_to_11.in diff --git a/bacula/src/cats/update_mysql_tables.in b/bacula/src/cats/update_mysql_tables.in old mode 100755 new mode 100644 index ce2fd2a62e..2b981eaf35 --- a/bacula/src/cats/update_mysql_tables.in +++ b/bacula/src/cats/update_mysql_tables.in @@ -1,12 +1,10 @@ #!/bin/sh # -# Shell script to update MySQL tables from version 1.38 to 2.0 +# Shell script to update MySQL tables from version 2.0 to 3.0 # echo " " -echo "This script will update a Bacula MySQL database from version 9 to 10" -echo " which is needed to convert from Bacula version 1.38.x to 2.0.x or higher" -echo "Depending on the size of your database," -echo "this script may take several minutes to run." +echo "This script will update a Bacula MySQL database from version 10 to 11" +echo " which is needed to convert from Bacula version 2.0.x to 3.0.x or higher" echo " " bindir=@SQL_BINDIR@ db_name=@db_name@ @@ -14,59 +12,11 @@ db_name=@db_name@ if $bindir/mysql $* -f <