summaryrefslogtreecommitdiffstats
path: root/view_job_queue.cgi
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2014-11-06 05:58:07 +0100
committerByron Jones <glob@mozilla.com>2014-11-06 05:58:07 +0100
commit247b01c22effc8b6d236d54cc377c7b808af7a82 (patch)
treeaf715f4025d9d169588353542de53564c18dcecc /view_job_queue.cgi
parent5bf2d7587ebfa69c8dadeedc7bc9ce7c7dfd651b (diff)
downloadbugzilla-247b01c22effc8b6d236d54cc377c7b808af7a82.tar.gz
bugzilla-247b01c22effc8b6d236d54cc377c7b808af7a82.tar.xz
Bug 1093479: view job queue shows incorrect value for error_count
Diffstat (limited to 'view_job_queue.cgi')
-rwxr-xr-xview_job_queue.cgi5
1 files changed, 4 insertions, 1 deletions
diff --git a/view_job_queue.cgi b/view_job_queue.cgi
index b53d4d7c6..6903acff0 100755
--- a/view_job_queue.cgi
+++ b/view_job_queue.cgi
@@ -45,7 +45,10 @@ sub generate_report {
j.run_after AS run_time,
j.grabbed_until,
f.funcname AS func,
- (SELECT COUNT(*) FROM ts_error WHERE e.jobid = j.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