From 00577740c58ac7922cee69b89eb5cc19f0059696 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sun, 6 Feb 2011 11:46:17 +0100 Subject: [PATCH] Fix double query in db_list_basefiles() --- bacula/src/cats/sql_list.c | 5 ----- 1 file changed, 5 deletions(-) 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; -- 2.39.5