bstrutime(date, sizeof(date), StartTime + 1);
jobids->reset();
- /* If we are coming from bconsole, we must ensure that we
- * have a unique name.
- */
- if (from_jobid == 0) {
- P(btemp_mutex);
- bsnprintf(jobid, sizeof(jobid), "0%u", btemp_cur++);
- V(btemp_mutex);
- } else {
- /* TODO: Here we have a hint on the JobId to return
- * depdending on the Job level of the hint, we must
- * adapt one of the queries (F, D, I) and add a JobId=x
- */
- edit_uint64(from_jobid, jobid);
- }
+ Dmsg1(100, "from_jobid=%ld hint\n", from_jobid);
+ P(btemp_mutex);
+ bsnprintf(jobid, sizeof(jobid), "0%u", btemp_cur++);
+ V(btemp_mutex);
if (jr->Name[0] != 0) {
bdb_escape_string(jcr, esc, jr->Name, strlen(jr->Name));