From: Eric Bollengier Date: Sat, 11 Aug 2007 18:18:19 +0000 (+0000) Subject: ebl small SQL fix for mysql (recyclepoolid => RecyclePoolId) X-Git-Tag: Release-7.0.0~5848 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dab5a20ddac0a66e8f7b2db7ab679a472d99cfce;p=bacula%2Fbacula ebl small SQL fix for mysql (recyclepoolid => RecyclePoolId) git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5345 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/qt-console/medialist/medialist.cpp b/bacula/src/qt-console/medialist/medialist.cpp index b7b3367213..20e0aa4206 100644 --- a/bacula/src/qt-console/medialist/medialist.cpp +++ b/bacula/src/qt-console/medialist/medialist.cpp @@ -115,7 +115,7 @@ void MediaList::populateTree() " Media.LastWritten AS LastWritten" " FROM Media" " LEFT OUTER JOIN Pool ON (Media.PoolId=Pool.PoolId)" - " LEFT OUTER JOIN Pool AS Pol ON (Media.recyclepoolid=Pol.PoolId)" + " LEFT OUTER JOIN Pool AS Pol ON (Media.RecyclePoolId=Pol.PoolId)" " WHERE"; query += " Pool.Name='" + pool_listItem + "'"; query += " ORDER BY Media";