]> git.sur5r.net Git - bacula/bacula/commitdiff
Update the update scripts in updatedb
authorKern Sibbald <kern@sibbald.com>
Thu, 23 Sep 2004 15:15:31 +0000 (15:15 +0000)
committerKern Sibbald <kern@sibbald.com>
Thu, 23 Sep 2004 15:15:31 +0000 (15:15 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@1608 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/kernstodo
bacula/src/filed/heartbeat.c
bacula/updatedb/update_mysql_tables_7_to_8
bacula/updatedb/update_postgresql_tables_7_to_8
bacula/updatedb/update_sqlite_tables_7_to_8

index 66f8605c7f90e9a193bb0edcb9b062aaf63c88b5..fadf6e22a617baf7472577fbcb280fafac2c5a44 100644 (file)
@@ -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.
 
index 81a0e39f2ea182c963f0fdcfe386aef8b4f1ac67..0bda4f485cdeaaba185ff77e32c92bc78a55b318 100644 (file)
@@ -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
index f20681ddec259789d4a477d580f79417d114860a..d1a346c38556cb8d936f4dee6e01baf5cf25c47d 100755 (executable)
@@ -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);
 
index 03f2407e34f38f77fc4fcc819505590ec2b7e888..d654f6014b341de5366a95678c63e4d6a62417c4 100755 (executable)
@@ -15,6 +15,8 @@ if $bindir/psql $* -f - <<END-OF-DATA
 ALTER TABLE Media ADD COLUMN EndFile integer not null default 0;
 ALTER TABLE Media ADD COLUMN EndBlock integer not null default 0;
 
+UPDATE Filename SET Name='' WHERE Name=' ';
+
 DELETE FROM Version;
 INSERT INTO Version (VersionId) VALUES (8);
 
index 6c66df3f6befe82132c24d558d24f5e938f0ffb1..f0a33a1663d1e13f38db9c526f17dd7a7c4deb67 100755 (executable)
@@ -111,6 +111,8 @@ DROP TABLE Media_backup;
 
 COMMIT;
 
+UPDATE Filename SET Name='' WHERE Name=' ';
+
 DELETE FROM Version;
 INSERT INTO Version (VersionId) VALUES (8);