]> git.sur5r.net Git - bacula/bacula/commitdiff
kes Fix incorrect number of arguments in SQL statement in
authorKern Sibbald <kern@sibbald.com>
Wed, 6 Sep 2006 20:35:36 +0000 (20:35 +0000)
committerKern Sibbald <kern@sibbald.com>
Wed, 6 Sep 2006 20:35:36 +0000 (20:35 +0000)
     sql_get.c as reported by Eric.

git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3419 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/cats/sql_get.c
bacula/technotes-1.39

index 74c03435e2feab1f0bcf67e1c56a0184b9008184..fac09a73106a7992dce54f387c005e31879ea1f6 100644 (file)
@@ -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,"
index 9780ec87ad6d1174c1f88803e26e862c3cf24629..92953a5c7269728327508ab7c910f0f149c00be6 100644 (file)
@@ -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