 +ALTER TABLE BaseFiles CHANGE FileId FileId BIGINT UNSIGNED NOT NULL;
 +ALTER TABLE Job ADD ReadBytes BIGINT UNSIGNED DEFAULT 0 AFTER JobBytes; 
  
+ DELETE FROM Version;
+ INSERT INTO Version (VersionId) VALUES (11);
+ 
 +-- Create a table like Job for long term statistics
 +CREATE TABLE JobHistory (LIKE Job);
 +
- DELETE FROM Version;
- INSERT INTO Version (VersionId) VALUES (11);
- 
+ END-OF-DATA
+ then
+    echo "Update of Bacula MySQL tables succeeded."
 Index: src/cats/make_sqlite_tables.in
 ===================================================================
---- src/cats/make_sqlite_tables.in	(révision 8431)
-+++ src/cats/make_sqlite_tables.in	(copie de travail)
+--- src/cats/make_sqlite_tables.in	(revision 8431)
++++ src/cats/make_sqlite_tables.in	(working copy)
 @@ -64,6 +64,7 @@
     VolSessionTime INTEGER UNSIGNED DEFAULT 0,
     JobFiles INTEGER UNSIGNED DEFAULT 0,

 PRAGMA default_synchronous = OFF;
Index: src/cats/sql_get.c
===================================================================
--- src/cats/sql_get.c	(révision 8431)
+++ src/cats/sql_get.c	(copie de travail)
@@ -297,13 +297,13 @@
       Mmsg(mdb->cmd, "SELECT VolSessionId,VolSessionTime,"
 "PoolId,StartTime,EndTime,JobFiles,JobBytes,JobTDate,Job,JobStatus,"

    jr->EndTime = str_to_utime(jr->cEndTime);
Index: src/cats/make_mysql_tables.in
===================================================================
--- src/cats/make_mysql_tables.in	(revision 8431)
+++ src/cats/make_mysql_tables.in	(working copy)
@@ -29,7 +29,7 @@
 
 
