From 89a0dc9e4bf6049175995cdec124dc97b62d831c Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Thu, 23 Sep 2004 15:15:31 +0000 Subject: [PATCH] Update the update scripts in updatedb git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1608 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/kernstodo | 8 +++++--- bacula/src/filed/heartbeat.c | 2 +- bacula/updatedb/update_mysql_tables_7_to_8 | 2 ++ bacula/updatedb/update_postgresql_tables_7_to_8 | 2 ++ bacula/updatedb/update_sqlite_tables_7_to_8 | 2 ++ 5 files changed, 12 insertions(+), 4 deletions(-) diff --git a/bacula/kernstodo b/bacula/kernstodo index 66f8605c7f..fadf6e22a6 100644 --- a/bacula/kernstodo +++ b/bacula/kernstodo @@ -12,9 +12,9 @@ Version 1.35 Kern (see below) 1.35 Items to do for release: - Backspace to beginning of line (conio) does not erase first char. -- List verify options for DiskToCatalog in doc. -- Do unmount before removing magazine. -- Turn on transactions if multiple connections are on in DB. +- Doc to do unmount before removing magazine. +- Detect fixed tape block mode during positioning by looking at + block numbers in btape "test". Possibly adjust in Bacula. - Document a get out of jail procedure if everything breaks if you lost/broke the Catalog -- do the same for "I know my @@ -1358,4 +1358,6 @@ Block Position: 0 - Add new DCR calling sequences everywhere in SD. This will permit simultaneous use of multiple devices by a single job. - Fix bscan so that it releases the drive when requesting a new tape. +- List verify options for DiskToCatalog in doc. +- Turn on transactions if multiple connections are on in DB. diff --git a/bacula/src/filed/heartbeat.c b/bacula/src/filed/heartbeat.c index 81a0e39f2e..0bda4f485c 100644 --- a/bacula/src/filed/heartbeat.c +++ b/bacula/src/filed/heartbeat.c @@ -9,7 +9,7 @@ * */ /* - Copyright (C) 2000-2004 Kern Sibbald and John Walker + Copyright (C) 2003-2004 Kern Sibbald and John Walker This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as diff --git a/bacula/updatedb/update_mysql_tables_7_to_8 b/bacula/updatedb/update_mysql_tables_7_to_8 index f20681ddec..d1a346c385 100755 --- a/bacula/updatedb/update_mysql_tables_7_to_8 +++ b/bacula/updatedb/update_mysql_tables_7_to_8 @@ -15,6 +15,8 @@ USE bacula; ALTER TABLE Media ADD COLUMN EndFile INTEGER UNSIGNED NOT NULL DEFAULT 0; ALTER TABLE Media ADD COLUMN EndBlock INTEGER UNSIGNED NOT NULL DEFAULT 0; +UPDATE Filename SET Name='' WHERE Name=' '; + DELETE FROM Version; INSERT INTO Version (VersionId) VALUES (8); diff --git a/bacula/updatedb/update_postgresql_tables_7_to_8 b/bacula/updatedb/update_postgresql_tables_7_to_8 index 03f2407e34..d654f6014b 100755 --- a/bacula/updatedb/update_postgresql_tables_7_to_8 +++ b/bacula/updatedb/update_postgresql_tables_7_to_8 @@ -15,6 +15,8 @@ if $bindir/psql $* -f - <