Permalink
Browse files

fix SQLite synteny backend table dropping

  • Loading branch information...
1 parent f4cb694 commit 56cb418bce88afd017b956cf187aa6d131409ddb @rbuels rbuels committed Aug 16, 2011
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/Bio/DB/Synteny/Store/DBI/SQLite.pm
View
3 lib/Bio/DB/Synteny/Store/DBI/SQLite.pm
@@ -11,7 +11,8 @@ sub init_database {
if( $erase ) { # drop the tables if they exist
local $dbh->{RaiseError} = 0;
local $dbh->{PrintError} = 0;
- $dbh->do( 'DROP TABLE alignments, map' );
+ $dbh->do( 'DROP TABLE alignments' );
+ $dbh->do( 'DROP TABLE map' );
}
$dbh->do( <<'');

0 comments on commit 56cb418

Please sign in to comment.