From 94133b1d48b44f7b15f7ea80babec534b8e75b52 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 28 Jan 2009 09:03:18 +0000 Subject: [PATCH] ebl Turn on db_get_file_list() single SQL because the failure was due to a full FS. And the accurate test fails with the other code. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8406 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/cats/sql_get.c | 8 ++------ bacula/technotes-2.5 | 4 ++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bacula/src/cats/sql_get.c b/bacula/src/cats/sql_get.c index 9907139d24..4983ddedf5 100644 --- a/bacula/src/cats/sql_get.c +++ b/bacula/src/cats/sql_get.c @@ -1060,11 +1060,7 @@ bool db_get_file_list(JCR *jcr, B_DB *mdb, char *jobids, } POOL_MEM buf(PM_MESSAGE); -/* - * Note! Turned off by KES 25Jan09 because this SELECT fails - * on my system. Failure message sent to Eric. - */ -//#define new_db_get_file_list +#define new_db_get_file_list #ifdef new_db_get_file_list /* This is broken, at least if called from ua_restore.c */ Mmsg(buf, @@ -1083,7 +1079,7 @@ bool db_get_file_list(JCR *jcr, B_DB *mdb, char *jobids, #else /* * I am not sure that this works the same as the code in ua_restore.c - * but it is very similar. + * but it is very similar. The accurate-test fails in a restore. Bad file count. */ Mmsg(buf, uar_sel_files, jobids); #endif diff --git a/bacula/technotes-2.5 b/bacula/technotes-2.5 index 21b1145152..e8e6b75a8d 100644 --- a/bacula/technotes-2.5 +++ b/bacula/technotes-2.5 @@ -10,6 +10,10 @@ filepattern (restore with regex in bsr) mixed priorities General: +28Jan09 +ebl Turn on db_get_file_list() single SQL because the failure + was due to a full FS. And the accurate test fails with the + other code. 27Jan09 ebl Fix a bug that doesn't update RecyclePool all the time during the first startup. -- 2.39.5