From: Eric Bollengier Date: Thu, 3 Feb 2011 12:00:37 +0000 (+0100) Subject: Fix bvfs for mysql X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=338c5779e6af3a22a79651758e810125dcd0af85;p=bacula%2Fbacula Fix bvfs for mysql --- diff --git a/bacula/src/cats/sql_cmds.c b/bacula/src/cats/sql_cmds.c index c35701a301..26ff05276c 100644 --- a/bacula/src/cats/sql_cmds.c +++ b/bacula/src/cats/sql_cmds.c @@ -840,8 +840,8 @@ const char *sql_bvfs_select[] = { }; const char *sql_bvfs_list_files_default = -"SELECT 'F', PathId, T1.FilenameId, Filename.Name, " - "File.JobId, LStat, FileId " +"SELECT 'F', T1.PathId, T1.FilenameId, Filename.Name, " + "File.JobId, File.LStat, File.FileId " "FROM Job, File, ( " "SELECT MAX(JobTDate) AS JobTDate, PathId, FilenameId " "FROM ( "