Commit b13d809d authored by Byron Jones's avatar Byron Jones

Bug 1093479: view job queue shows incorrect value for error_count

r=dylan,a=glob
parent 5afebc8e
...@@ -45,7 +45,10 @@ sub generate_report { ...@@ -45,7 +45,10 @@ sub generate_report {
j.run_after AS run_time, j.run_after AS run_time,
j.grabbed_until, j.grabbed_until,
f.funcname AS func, 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.error_time AS error_time,
e.message AS error_message e.message AS error_message
FROM FROM
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment