From: Eric Bollengier Date: Mon, 19 Oct 2015 13:00:32 +0000 (+0200) Subject: Tweak comment in create_simple_name() X-Git-Tag: Release-7.4.0~190 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6a613a3196542ea1358218d9a3b9f05ab1215c43;p=bacula%2Fbacula Tweak comment in create_simple_name() --- 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)) {