From 6a613a3196542ea1358218d9a3b9f05ab1215c43 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Mon, 19 Oct 2015 15:00:32 +0200 Subject: [PATCH] Tweak comment in create_simple_name() --- bacula/src/dird/newvol.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bacula/src/dird/newvol.c b/bacula/src/dird/newvol.c index 46f5b9212a..ced21df068 100644 --- a/bacula/src/dird/newvol.c +++ b/bacula/src/dird/newvol.c @@ -117,6 +117,7 @@ static bool create_simple_name(JCR *jcr, MEDIA_DBR *mr, POOL_DBR *pr) mr->VolumeName[0] = 0; bstrncpy(name, pr->LabelFormat, sizeof(name)); ctx.value = 0; + /* TODO: Remove Pool as it is not used in the query */ Mmsg(query, "SELECT MAX(MediaId) FROM Media,Pool WHERE Pool.PoolId=%s", edit_int64(pr->PoolId, ed1)); if (!db_sql_query(jcr->db, query.c_str(), db_int64_handler, (void *)&ctx)) { -- 2.39.2