X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FStorage%2FDBI%2FSQLite.pm;h=5e125c9c8cd8196dfc3dd76387d9a6b355c5999c;hb=70f524e6b39efe4fb16e2fd75132c118f050df25;hp=e29c2ee8faec08ab0e51540bd7ae57b77bd8b70c;hpb=12c9beeade5453c5a867406f30384a22e2f1b82d;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/lib/DBIx/Class/Storage/DBI/SQLite.pm b/lib/DBIx/Class/Storage/DBI/SQLite.pm index e29c2ee..5e125c9 100644 --- a/lib/DBIx/Class/Storage/DBI/SQLite.pm +++ b/lib/DBIx/Class/Storage/DBI/SQLite.pm @@ -6,7 +6,7 @@ use POSIX 'strftime'; use File::Copy; use File::Spec; -use base qw/DBIx::Class::Storage::DBI::MultiDistinctEmulation/; +use base qw/DBIx::Class::Storage::DBI/; sub _dbh_last_insert_id { my ($self, $dbh, $source, $col) = @_; @@ -45,21 +45,6 @@ sub backup return $backupfile; } -sub disconnect { - - # As described in this node http://www.perlmonks.org/?node_id=666210 - # there seems to be no sane way to ->disconnect a SQLite database with - # cached statement handles. As per mst we just zap the cache and - # proceed as normal. - - my $self = shift; - if ($self->connected) { - $self->_dbh->{CachedKids} = {}; - $self->next::method (@_); - } -} - - 1; =head1 NAME