From: Rafael Kitover Date: Mon, 28 Sep 2009 10:25:48 +0000 (+0000) Subject: fix DT stuff X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9a6a7fdb92b50d48c7d132bdf28ca2a3ec28336a;p=dbsrgits%2FDBIx-Class-Historic.git fix DT stuff --- diff --git a/lib/DBIx/Class/Storage/DBI/Sybase.pm b/lib/DBIx/Class/Storage/DBI/Sybase.pm index e8b9052..f82a3c5 100644 --- a/lib/DBIx/Class/Storage/DBI/Sybase.pm +++ b/lib/DBIx/Class/Storage/DBI/Sybase.pm @@ -852,7 +852,7 @@ C columns only have minute precision. sub connect_call_datetime_setup { my $self = shift; - my $dbh = $self->_dbh; + my $dbh = $self->_get_dbh; if ($dbh->can('syb_date_fmt')) { # amazingly, this works with FreeTDS