Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl
Commits
2d99304b
Commit
2d99304b
authored
Feb 11, 2008
by
Andreas Kusalananda Kähäri
Browse files
Force use of index by using the maximum feature length.
parent
3bb43631
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
modules/Bio/EnsEMBL/Collection.pm
modules/Bio/EnsEMBL/Collection.pm
+6
-2
No files found.
modules/Bio/EnsEMBL/Collection.pm
View file @
2d99304b
...
...
@@ -947,12 +947,16 @@ sub __constraint {
%1$s.seq_region_id = %2$10d
AND %1$s.seq_region_start <= %4$10d
AND %1$s.seq_region_end >= %3$10d
AND %1$s.seq_region_start >= %5$10d
)
;
$constraint
=
sprintf
(
$constraint_fmt
,
$table_alias
,
$slice
->
get_seq_region_id
(),
$slice
->
start
(),
$slice
->
end
()
);
$table_alias
,
$slice
->
get_seq_region_id
(),
$slice
->
start
(),
$slice
->
end
(),
$slice
->
start
()
-
$max_feature_length
);
}
else
{
my
@seq_region_ids
=
...
...
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