X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FStorage%2FDBI%2FODBC%2FMicrosoft_SQL_Server.pm;h=88627d364ae497a1e321638bb28df07649ea9b94;hb=584ea6e45cc0c7608789d3b6ea2d16151f15ed14;hp=33b53e30415bd91de67bd57cfe2e9d615cb0e996;hpb=e989099be9257b775a97dd09b4e9b8dbfec2dfcc;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/lib/DBIx/Class/Storage/DBI/ODBC/Microsoft_SQL_Server.pm b/lib/DBIx/Class/Storage/DBI/ODBC/Microsoft_SQL_Server.pm index 33b53e3..88627d3 100644 --- a/lib/DBIx/Class/Storage/DBI/ODBC/Microsoft_SQL_Server.pm +++ b/lib/DBIx/Class/Storage/DBI/ODBC/Microsoft_SQL_Server.pm @@ -286,10 +286,8 @@ sub using_freetds { $dsn = '' if ref $dsn eq 'CODE'; - my $dbh = $self->_get_dbh; - return 1 if $dsn =~ /driver=FreeTDS/i - || (try { $dbh->get_info(6) }||'') =~ /tdsodbc/i; + || ($self->_dbh_get_info(6)||'') =~ /tdsodbc/i; return 0; }