Rename last_dbh and turn it into a public method
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Storage / DBI / ODBC.pm
index d9b810a..7c3b739 100644 (file)
@@ -8,7 +8,7 @@ use mro 'c3';
 sub _rebless {
     my ($self) = @_;
 
-    my $dbtype = eval { $self->_get_dbh->get_info(17) };
+    my $dbtype = eval { $self->last_dbh->get_info(17) };
 
     unless ( $@ ) {
         # Translate the backend name into a perl identifier