projects
/
dbsrgits/DBIx-Class-Historic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Rewrite selector using sqla
[dbsrgits/DBIx-Class-Historic.git]
/
lib
/
DBIx
/
Class
/
Storage
/
DBI
/
ODBC.pm
diff --git
a/lib/DBIx/Class/Storage/DBI/ODBC.pm
b/lib/DBIx/Class/Storage/DBI/ODBC.pm
index
6f905af
..
d9b810a
100644
(file)
--- a/
lib/DBIx/Class/Storage/DBI/ODBC.pm
+++ b/
lib/DBIx/Class/Storage/DBI/ODBC.pm
@@
-8,7
+8,8
@@
use mro 'c3';
sub _rebless {
my ($self) = @_;
- my $dbtype = eval { $self->dbh->get_info(17) };
+ my $dbtype = eval { $self->_get_dbh->get_info(17) };
+
unless ( $@ ) {
# Translate the backend name into a perl identifier
$dbtype =~ s/\W/_/gi;