From: Eric Bollengier Date: Thu, 7 Oct 2010 18:28:54 +0000 (+0200) Subject: bvfs: fix mysql query, restore seems to be ok X-Git-Tag: Release-5.2.1~1029 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=baa7b9a7e5686ebf7eb9947e3dca8705be2a3728;p=bacula%2Fbacula bvfs: fix mysql query, restore seems to be ok --- diff --git a/bacula/src/cats/sql_cmds.c b/bacula/src/cats/sql_cmds.c index a1bbd698c9..48c27152bb 100644 --- a/bacula/src/cats/sql_cmds.c +++ b/bacula/src/cats/sql_cmds.c @@ -922,7 +922,7 @@ const char *sql_bvfs_select[5] = { "SELECT max(JobId) as JobId, FileIndex, FileId " "FROM btemp%s " "GROUP BY PathId, FilenameId " - "HAVING FileIndex > 0 ", + "HAVING FileIndex > 0)", /* Postgresql */ "CREATE TABLE %s AS ( " "SELECT JobId, FileIndex, FileId "