Skip to content
Snippets Groups Projects
Commit a4c5ab08 authored by Will Spooner's avatar Will Spooner
Browse files

Performance optimisation in fetch_all_by_feature_class method. Contributed by...

Performance optimisation in fetch_all_by_feature_class method. Contributed by Shiran Pasternak at CSHL
parent e6ff6157
No related branches found
No related tags found
No related merge requests found
......@@ -153,9 +153,7 @@ sub fetch_all_by_feature_class {
return [] );
my $sql_t = qq|
SELECT DISTINCT( a.analysis_id )
FROM analysis a, %s f
WHERE a.analysis_id=f.analysis_id |;
SELECT DISTINCT a.analysis_id FROM %s |;
my $sql = sprintf( $sql_t, $feat_table );
my $sth = $self->prepare( $sql );
......
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