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-7.0.0~1494 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2a0c636bff271d58f02fa10943518e0080a242b5;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 "