}
/* build a jobid list ie: 1,2,3,4 */
- Mmsg(query, "SELECT JobId FROM btemp3%s", jobid);
+ Mmsg(query, "SELECT JobId FROM btemp3%s ORDER by JobTDate", jobid);
db_sql_query(mdb, query.c_str(), db_get_int_handler, jobids);
Dmsg1(1, "db_accurate_get_jobids=%s\n", jobids);
ret = true;
}
memset(&jcr->previous_jr, 0, sizeof(jcr->previous_jr));
jcr->previous_jr.JobId = str_to_int64(p);
+ Dmsg1(10, "Previous JobId=%s\n", p);
if (!db_get_job_record(jcr, jcr->db, &jcr->previous_jr)) {
Jmsg(jcr, M_FATAL, 0, _("Error getting Job record for previous Job: ERR=%s"),
db_strerror(jcr->db));
General:
08Oct08
+kes Sort JobIds returned from db_accurate_get_jobids() to fix Virtual
+ backup start time bug reported by Graham Keeling.
+08Oct08
ebl Fix possible bug in cancel_job() with job that are not
yet created.
07Oct08