Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
c6ecd991
Commit
c6ecd991
authored
Nov 13, 2012
by
Leo Gordon
Browse files
bugfix: msg view should behave when analysis_id is still NULL
parent
c686f8cf
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
sql/patch_2012-11-13.sql
sql/patch_2012-11-13.sql
+2
-2
sql/procedures.mysql
sql/procedures.mysql
+2
-2
sql/procedures.sqlite
sql/procedures.sqlite
+2
-2
No files found.
sql/patch_2012-11-13.sql
View file @
c6ecd991
...
...
@@ -7,6 +7,6 @@ CREATE OR REPLACE VIEW msg AS
SELECT
a
.
analysis_id
,
a
.
logic_name
,
m
.
*
FROM
job_message
m
JOIN
worker
w
USING
(
worker_id
)
JOIN
analysis_base
a
USING
(
analysis_id
)
LEFT
JOIN
job
j
USING
(
job_id
);
LEFT
JOIN
analysis_base
a
ON
(
a
.
analysis_id
=
w
.
analysis_id
)
LEFT
JOIN
job
j
ON
(
j
.
job_id
=
m
.
job_id
);
sql/procedures.mysql
View file @
c6ecd991
...
...
@@ -35,8 +35,8 @@ CREATE OR REPLACE VIEW msg AS
SELECT a.analysis_id, a.logic_name, m.*
FROM job_message m
JOIN worker w USING (worker_id)
JOIN analysis_base a
USING (
analysis_id)
LEFT JOIN job j
USING (
job_id);
LEFT
JOIN analysis_base a
ON (a.analysis_id=w.
analysis_id)
LEFT JOIN job j
ON (j.job_id=m.
job_id);
#### time an analysis or group of analyses (given by a name pattern) ######################################
...
...
sql/procedures.sqlite
View file @
c6ecd991
...
...
@@ -35,6 +35,6 @@ CREATE VIEW IF NOT EXISTS msg AS
SELECT a.analysis_id, a.logic_name, m.*
FROM job_message m
JOIN worker w USING (worker_id)
JOIN analysis_base a
USING (
analysis_id)
LEFT JOIN job j ON (
m
.job_id=
j
.job_id);
LEFT
JOIN analysis_base a
ON (a.analysis_id=w.
analysis_id)
LEFT JOIN job j ON (
j
.job_id=
m
.job_id);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment