Skip to content

Commit

Permalink
Bug 1093479: view job queue shows incorrect value for error_count
Browse files Browse the repository at this point in the history
r=dylan,a=glob
  • Loading branch information
globau committed Nov 6, 2014
1 parent 5afebc8 commit b13d809
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion view_job_queue.cgi
Expand Up @@ -45,7 +45,10 @@ sub generate_report {
j.run_after AS run_time,
j.grabbed_until,
f.funcname AS func,
e.jobid AS error_count,
(SELECT COUNT(*)
FROM ts_error
WHERE ts_error.jobid = j.jobid
) AS error_count,
e.error_time AS error_time,
e.message AS error_message
FROM
Expand Down

0 comments on commit b13d809

Please sign in to comment.