From: Dirk H Bartley Date: Sat, 30 May 2009 20:24:53 +0000 (+0000) Subject: A fix for mysql database sql syntax. X-Git-Tag: Release-3.0.2~189 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3d5722d62577fda7aa3716ab1f676f9cbae522e5;p=bacula%2Fbacula A fix for mysql database sql syntax. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8877 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/qt-console/joblist/joblist.cpp b/bacula/src/qt-console/joblist/joblist.cpp index dddf9991f2..838746078e 100644 --- a/bacula/src/qt-console/joblist/joblist.cpp +++ b/bacula/src/qt-console/joblist/joblist.cpp @@ -285,7 +285,7 @@ void JobList::fillQueryString(QString &query) " FROM Job" " JOIN Client ON (Client.ClientId=Job.ClientId)" " LEFT OUTER JOIN FileSet ON (FileSet.FileSetId=Job.FileSetId) " - " LEFT OUTER JOIN pool ON Job.PoolId = Pool.PoolId "; + " LEFT OUTER JOIN Pool ON Job.PoolId = Pool.PoolId "; QStringList conditions; if (m_mediaName != tr("Any")) { query += " LEFT OUTER JOIN JobMedia ON (JobMedia.JobId=Job.JobId) "