From 5556d8fe205cc73d699baf958d3801d3c385e316 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 2 Oct 2016 08:46:21 +0200 Subject: [PATCH] Apply patch to list more pool info from bug #2202 --- bacula/src/cats/sql_list.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"); } } -- 2.39.5