From: Eric Bollengier Date: Sun, 6 Feb 2011 10:46:17 +0000 (+0100) Subject: Fix double query in db_list_basefiles() X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=00577740c58ac7922cee69b89eb5cc19f0059696;p=bacula%2Fbacula Fix double query in db_list_basefiles() --- diff --git a/bacula/src/cats/sql_list.c b/bacula/src/cats/sql_list.c index e951e36e56..ed45966a4c 100644 --- a/bacula/src/cats/sql_list.c +++ b/bacula/src/cats/sql_list.c @@ -506,11 +506,6 @@ db_list_base_files_for_job(JCR *jcr, B_DB *mdb, JobId_t jobid, DB_LIST_HANDLER * edit_int64(jobid, ed1)); } - if (!QUERY_DB(jcr, mdb, mdb->cmd)) { - db_unlock(mdb); - return; - } - if (!db_big_sql_query(mdb, mdb->cmd, list_result, &lctx)) { db_unlock(mdb); return;