From: Kern Sibbald Date: Mon, 28 Sep 2009 07:22:56 +0000 (+0200) Subject: Attempt to fix MySQL SQL error X-Git-Tag: Release-5.0.0~299^2~8 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a8c30efe3b1bf80b19b298f673e801ec3dc573e4;p=bacula%2Fbacula Attempt to fix MySQL SQL error --- diff --git a/bacula/src/cats/sql_cmds.c b/bacula/src/cats/sql_cmds.c index 476ba63d75..8b28422e0a 100644 --- a/bacula/src/cats/sql_cmds.c +++ b/bacula/src/cats/sql_cmds.c @@ -310,7 +310,7 @@ const char *uar_last_full = "INSERT INTO temp1 SELECT Job.JobId,JobTdate " "FROM Client,Job,JobMedia,Media,FileSet WHERE Client.ClientId=%s " "AND Job.ClientId=%s " - "AND Job.StartTime<'%s' " + "AND Job.StartTime < '%s' " "AND Level='F' AND JobStatus IN ('T','W') AND Type='B' " "AND JobMedia.JobId=Job.JobId " "AND Media.Enabled=1 "