From: Kern Sibbald Date: Mon, 28 Sep 2009 07:22:56 +0000 (+0200) Subject: Attempt to fix MySQL SQL error X-Git-Tag: Release-7.0.0~2616^2~8 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=053df44ac187a3aeed90bd5f7e2127fd2dc3b36c;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 "