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
27c18830
Commit
27c18830
authored
Feb 17, 2003
by
Val Curwen
Browse files
Fix to remove() - use self->_tables rather than self->_tablename
parent
9ecf1ca1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
modules/Bio/EnsEMBL/DBSQL/BaseFeatureAdaptor.pm
modules/Bio/EnsEMBL/DBSQL/BaseFeatureAdaptor.pm
+2
-1
No files found.
modules/Bio/EnsEMBL/DBSQL/BaseFeatureAdaptor.pm
View file @
27c18830
...
...
@@ -526,7 +526,8 @@ sub remove {
"
feature could not be removed
");
}
my
$table
=
$self
->
_tablename
();
my
@tabs
=
$self
->
_tables
;
my
(
$table
)
=
@
{
$tabs
[
0
]};
my
$sth
=
$self
->
prepare
("
DELETE FROM
$table
WHERE
${table}
_id = ?
");
$sth
->
execute
(
$feature
->
dbID
());
...
...
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