  
  -- Create a table like Job for long term statistics 
 -CREATE TABLE JobHistory (LIKE Job);
-+CREATE TABLE JobHistory (
++CREATE TABLE JobHisto (
 +   JobId INTEGER UNSIGNED NOT NULL,
 +   Job TINYBLOB NOT NULL,
 +   Name TINYBLOB NOT NULL,

    jr->StartTime = str_to_utime(jr->cStartTime);
    jr->SchedTime = str_to_utime(jr->cSchedTime);
    jr->EndTime = str_to_utime(jr->cEndTime);
Index: src/cats/make_mysql_tables.in
===================================================================
--- src/cats/make_mysql_tables.in	(révision 8436)
+++ src/cats/make_mysql_tables.in	(copie de travail)
@@ -29,7 +29,7 @@
 

+   PurgedFiles TINYINT DEFAULT 0,
+   HasBase TINYINT DEFAULT 0
+   );
+CREATE INDEX inx61 ON JobHisto (Name);
+
 END-OF-DATA
Index: src/cats/update_mysql_tables.in
===================================================================
--- src/cats/update_mysql_tables.in	(révision 8456)
+++ src/cats/update_mysql_tables.in	(copie de travail)
@@ -12,16 +12,48 @@
 if $bindir/mysql $* -f <<END-OF-DATA
