]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix bvfs for mysql
authorEric Bollengier <eric@eb.homelinux.org>
Thu, 3 Feb 2011 12:00:37 +0000 (13:00 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:39:57 +0000 (14:39 +0200)
bacula/src/cats/sql_cmds.c

index c35701a30122800a6e50ecec858896d272c1646b..26ff05276cf91d783fa75245f0afbc8d6f9f11b7 100644 (file)
@@ -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 ( "