From e699dea60106880b4482615cb0ccd4ed7111c37b Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Tue, 10 Feb 2009 16:23:35 +0000 Subject: [PATCH] ebl Add index on JobHistory->StartTime field git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8442 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/patches/testing/next-beta.patch | 77 +++++++++++++++----------- 1 file changed, 46 insertions(+), 31 deletions(-) diff --git a/bacula/patches/testing/next-beta.patch b/bacula/patches/testing/next-beta.patch index 23c65fed30..8fc9af2641 100644 --- a/bacula/patches/testing/next-beta.patch +++ b/bacula/patches/testing/next-beta.patch @@ -1,7 +1,7 @@ Index: src/dird/job.c =================================================================== ---- src/dird/job.c (révision 8436) -+++ src/dird/job.c (copie de travail) +--- src/dird/job.c (revision 8436) ++++ src/dird/job.c (working copy) @@ -860,6 +860,7 @@ jcr->jr.JobStatus = jcr->JobStatus; jcr->jr.JobFiles = jcr->JobFiles; @@ -12,8 +12,8 @@ Index: src/dird/job.c jcr->jr.JobErrors = jcr->Errors; Index: src/cats/sql_update.c =================================================================== ---- src/cats/sql_update.c (révision 8436) -+++ src/cats/sql_update.c (copie de travail) +--- src/cats/sql_update.c (revision 8436) ++++ src/cats/sql_update.c (working copy) @@ -161,7 +161,7 @@ time_t ttime; struct tm tm; @@ -38,12 +38,15 @@ Index: src/cats/sql_update.c rdt, Index: src/cats/update_postgresql_tables.in =================================================================== ---- src/cats/update_postgresql_tables.in (révision 8436) -+++ src/cats/update_postgresql_tables.in (copie de travail) -@@ -11,13 +11,20 @@ +--- src/cats/update_postgresql_tables.in (revision 8436) ++++ src/cats/update_postgresql_tables.in (working copy) +@@ -11,13 +11,24 @@ if $bindir/psql -f - -d ${db_name} $* <cmd, "SELECT VolSessionId,VolSessionTime," "PoolId,StartTime,EndTime,JobFiles,JobBytes,JobTDate,Job,JobStatus," @@ -513,8 +528,8 @@ Index: src/cats/sql_get.c 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) +--- src/cats/make_mysql_tables.in (revision 8436) ++++ src/cats/make_mysql_tables.in (working copy) @@ -29,7 +29,7 @@ @@ -586,8 +601,8 @@ Index: src/cats/make_mysql_tables.in then Index: src/bc_types.h =================================================================== ---- src/bc_types.h (révision 8436) -+++ src/bc_types.h (copie de travail) +--- src/bc_types.h (revision 8436) ++++ src/bc_types.h (working copy) @@ -57,7 +57,7 @@ * In principle, the only field that really should need to be * 64 bits is the FileId_t -- 2.39.5