Versioning! With tests! Woo!
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Storage / DBI / SQLite.pm
index 1275406..f69fe0a 100644 (file)
@@ -8,8 +8,9 @@ use Path::Class;
 
 use base qw/DBIx::Class::Storage::DBI::MultiDistinctEmulation/;
 
-sub last_insert_id {
-  return $_[0]->dbh->func('last_insert_rowid');
+sub _dbh_last_insert_id {
+  my ($self, $dbh, $source, $col) = @_;
+  $dbh->func('last_insert_rowid');
 }
 
 sub backup
@@ -27,7 +28,7 @@ sub backup
   $self->throw_exception("Cannot determine name of SQLite db file") 
     if(!$dbname || !-f $dbname);
 
-  print "Found database: $dbname\n";
+#  print "Found database: $dbname\n";
   my $dbfile = file($dbname);
 #  my ($vol, $dir, $file) = File::Spec->splitpath($dbname);
   my $file = $dbfile->basename();