]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix of case from Fileset to FileSet for compatibility with mysql.
authorDirk H Bartley <dbartley@schupan.com>
Wed, 9 May 2007 00:49:34 +0000 (00:49 +0000)
committerDirk H Bartley <dbartley@schupan.com>
Wed, 9 May 2007 00:49:34 +0000 (00:49 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4733 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/qt-console/restore/prerestore.cpp

index be7d85e7c16e0ffce740aa266b52085be00d3f53..490d81ea02f05283e97023852bc8b698f1e17034 100644 (file)
@@ -237,11 +237,11 @@ void prerestorePage::jobdefsFromJob(QStringList &fieldlist, QString jobId)
 {
    QString job, client, fileset;
    QString query("");
-   query = "SELECT DISTINCT Job.Name AS JobName, Client.Name AS Client, Fileset.Fileset AS Fileset "
-   " From Job, Client, Fileset"
-   " WHERE Job.FilesetId=FileSet.FilesetId AND Job.ClientId=Client.ClientId"
+   query = "SELECT DISTINCT Job.Name AS JobName, Client.Name AS Client, FileSet.FileSet AS FileSet "
+   " From Job, Client, FileSet"
+   " WHERE Job.FileSetId=FileSet.FileSetId AND Job.ClientId=Client.ClientId"
    " AND JobId=\'" + jobId + "\'";
-   //printf("query = %s\n", query.toUtf8().data());
+   printf("query = %s\n", query.toUtf8().data());
    QStringList results;
    if (m_console->sql_cmd(query, results)) {
       QString field;