From: Kern Sibbald Date: Wed, 6 Sep 2006 20:35:36 +0000 (+0000) Subject: kes Fix incorrect number of arguments in SQL statement in X-Git-Tag: Release-2.0.0~498 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5cddfebd987784f79a88b891bf25198d7f531f59;p=bacula%2Fbacula kes Fix incorrect number of arguments in SQL statement in sql_get.c as reported by Eric. git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3419 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/cats/sql_get.c b/bacula/src/cats/sql_get.c index 74c03435e2..fac09a7310 100644 --- a/bacula/src/cats/sql_get.c +++ b/bacula/src/cats/sql_get.c @@ -262,7 +262,7 @@ bool db_get_job_record(JCR *jcr, B_DB *mdb, JOB_DBR *jr) if (jr->JobId == 0) { Mmsg(mdb->cmd, "SELECT VolSessionId,VolSessionTime," "PoolId,StartTime,EndTime,JobFiles,JobBytes,JobTDate,Job,JobStatus," -"Type,Level,ClientId,Name " +"Type,Level,ClientId,Name,PriorJobId,RealEndTime " "FROM Job WHERE Job='%s'", jr->Job); } else { Mmsg(mdb->cmd, "SELECT VolSessionId,VolSessionTime," diff --git a/bacula/technotes-1.39 b/bacula/technotes-1.39 index 9780ec87ad..92953a5c72 100644 --- a/bacula/technotes-1.39 +++ b/bacula/technotes-1.39 @@ -2,6 +2,8 @@ General: 06Sep06 +kes Fix incorrect number of arguments in SQL statement in + sql_get.c as reported by Eric. kes Manual updates. kes Update examples directory. kes Remove unused variable in winservice.cpp