Commit d05ffb98 authored by Leo Gordon's avatar Leo Gordon
Browse files

fix: 'msg' view now displays the analysis of the job (which is fixed), not...

fix: 'msg' view now displays the analysis of the job (which is fixed), not that of worker (which may change with time)
parent 74244f5e
......@@ -35,8 +35,8 @@ CREATE OR REPLACE VIEW msg AS
SELECT a.analysis_id, a.logic_name, m.*
FROM log_message m
JOIN worker w USING (worker_id)
LEFT JOIN analysis_base a ON (a.analysis_id=w.analysis_id)
LEFT JOIN job j ON (j.job_id=m.job_id);
LEFT JOIN job j ON (j.job_id=m.job_id)
LEFT JOIN analysis_base a ON (a.analysis_id=j.analysis_id);
#### time an analysis or group of analyses (given by a name pattern) ######################################
......
......@@ -35,6 +35,6 @@ CREATE VIEW IF NOT EXISTS msg AS
SELECT a.analysis_id, a.logic_name, m.*
FROM log_message m
JOIN worker w USING (worker_id)
LEFT JOIN analysis_base a ON (a.analysis_id=w.analysis_id)
LEFT JOIN job j ON (j.job_id=m.job_id);
LEFT JOIN job j ON (j.job_id=m.job_id)
LEFT JOIN analysis_base a ON (a.analysis_id=j.analysis_id);
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