From: Kern Sibbald Date: Sun, 2 Oct 2016 06:46:21 +0000 (+0200) Subject: Apply patch to list more pool info from bug #2202 X-Git-Tag: Release-7.4.5~20 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5556d8fe205cc73d699baf958d3801d3c385e316;p=bacula%2Fbacula Apply patch to list more pool info from bug #2202 --- diff --git a/bacula/src/cats/sql_list.c b/bacula/src/cats/sql_list.c index b5a21758fc..5fb94f1cf7 100644 --- a/bacula/src/cats/sql_list.c +++ b/bacula/src/cats/sql_list.c @@ -92,10 +92,10 @@ void BDB::bdb_list_pool_records(JCR *jcr, POOL_DBR *pdbr, } } else { if (pdbr->Name[0] != 0) { - Mmsg(cmd, "SELECT PoolId,Name,NumVols,MaxVols,PoolType,LabelFormat " + Mmsg(cmd, "SELECT PoolId,Name,NumVols,MaxVols,MaxVolBytes,VolRetention,Enabled,PoolType,LabelFormat " "FROM Pool WHERE Name='%s'", esc); } else { - Mmsg(cmd, "SELECT PoolId,Name,NumVols,MaxVols,PoolType,LabelFormat " + Mmsg(cmd, "SELECT PoolId,Name,NumVols,MaxVols,MaxVolBytes,VolRetention,Enabled,PoolType,LabelFormat " "FROM Pool ORDER BY PoolId"); } }