Skip to content

Commit

Permalink
Corrected case of Job table name
Browse files Browse the repository at this point in the history
Signed-off-by: Marco van Wieringen <marco.van.wieringen@bareos.com>
  • Loading branch information
pstorz authored and Marco van Wieringen committed Feb 17, 2015
1 parent aa1a847 commit f040d5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dird/ua_run.c
Expand Up @@ -209,10 +209,10 @@ int rerun_cmd(UAContext *ua, const char *cmd)
strftime(dt, sizeof(dt), "%Y-%m-%d %H:%M:%S", &tm);

if (since_jobid_given) {
Mmsg(query, "SELECT JobId FROM job WHERE JobStatus = 'f' AND JobId >= %s",
Mmsg(query, "SELECT JobId FROM Job WHERE JobStatus = 'f' AND JobId >= %s",
edit_int64(since_jobid, ed1));
} else {
Mmsg(query, "SELECT JobId FROM job WHERE JobStatus = 'f' AND SchedTime > '%s'", dt);
Mmsg(query, "SELECT JobId FROM Job WHERE JobStatus = 'f' AND SchedTime > '%s'", dt);
}

db_get_query_dbids(ua->jcr, ua->db, query, ids);
Expand Down

0 comments on commit f040d5c

Please sign in to comment.