]> git.sur5r.net Git - bacula/bacula/commitdiff
Apply patch to list more pool info from bug #2202
authorKern Sibbald <kern@sibbald.com>
Sun, 2 Oct 2016 06:46:21 +0000 (08:46 +0200)
committerKern Sibbald <kern@sibbald.com>
Sun, 2 Oct 2016 06:46:21 +0000 (08:46 +0200)
bacula/src/cats/sql_list.c

index b5a21758fc6e58b2a7b8fa62e4728f6cffe5bcef..5fb94f1cf7281aa761ce67fd167ed1b60a6625ba 100644 (file)
@@ -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");
       }
    }