From 728e22ff215052ddc5803d86d872600ef2a2aad4 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Tue, 9 Dec 2003 10:22:09 +0000 Subject: [PATCH] Fix new calling sequence of db_find_next_volume() in bdb_find.c git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@842 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/kernstodo | 1 + bacula/src/cats/bdb_find.c | 7 +++++-- bacula/src/version.h | 4 ++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/bacula/kernstodo b/bacula/kernstodo index 3327ebcaf1..12290cc3bd 100644 --- a/bacula/kernstodo +++ b/bacula/kernstodo @@ -92,6 +92,7 @@ For 1.33 After 1.33: +- Look at adding SQL server and Exchange support for Windows. - Restore: Enter Filename: 'C:/Documents and Settings/Comercial/My Documents/MOP/formulário de registro BELAS ARTES.doc' causes Bacula to crash. diff --git a/bacula/src/cats/bdb_find.c b/bacula/src/cats/bdb_find.c index 5b9a2581a0..f83b91e7dc 100644 --- a/bacula/src/cats/bdb_find.c +++ b/bacula/src/cats/bdb_find.c @@ -141,10 +141,13 @@ StartTime=%100s", &JobId, Name, cType, cLevel, StartTime) == 5) { * * Find a Volume for a given PoolId, MediaType, and VolStatus * + * Note! this does not correctly implement InChanger. + * * Returns: 0 on failure * numrows on success - */ -int db_find_next_volume(JCR *jcr, B_DB *mdb, int item, MEDIA_DBR *mr) + */ +int +db_find_next_volume(JCR *jcr, B_DB *mdb, int item, bool InChanger, MEDIA_DBR *mr) { MEDIA_DBR omr; int stat = 0; diff --git a/bacula/src/version.h b/bacula/src/version.h index 1179048aa3..1e07e29ede 100644 --- a/bacula/src/version.h +++ b/bacula/src/version.h @@ -2,8 +2,8 @@ #undef VERSION #define VERSION "1.33" #define VSTRING "1" -#define BDATE "07 Dec 2003" -#define LSMDATE "07Dec03" +#define BDATE "08 Dec 2003" +#define LSMDATE "08Dec03" /* Debug flags */ #undef DEBUG -- 2.39.5