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
2c3f20b5
Commit
2c3f20b5
authored
Sep 25, 2012
by
Leo Gordon
Browse files
bugfix: GROUP BY now includes a proper prefix of the index
parent
b4743e73
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
modules/Bio/EnsEMBL/Hive/Queen.pm
modules/Bio/EnsEMBL/Hive/Queen.pm
+1
-1
No files found.
modules/Bio/EnsEMBL/Hive/Queen.pm
View file @
2c3f20b5
...
...
@@ -581,7 +581,7 @@ sub synchronize_AnalysisStats {
$analysisStats
->
num_required_workers
(
0
);
# ask for analysis_id to force MySQL to use existing index on (analysis_id, status)
my
$sql
=
"
SELECT analysis_id, status, count(*) FROM job WHERE analysis_id=? GROUP BY status
";
my
$sql
=
"
SELECT analysis_id, status, count(*) FROM job WHERE analysis_id=? GROUP BY
analysis_id,
status
";
my
$sth
=
$self
->
prepare
(
$sql
);
$sth
->
execute
(
$analysisStats
->
analysis_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