From: Eric Bollengier Date: Wed, 28 Jan 2009 09:03:18 +0000 (+0000) Subject: ebl Turn on db_get_file_list() single SQL because the failure X-Git-Tag: Release-7.0.0~3424 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=111a2aa7fa93e7791714121614a44a93ecc92d7f;p=bacula%2Fbacula 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 --- 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.