fix DT stuff
Rafael Kitover [Mon, 28 Sep 2009 10:25:48 +0000 (10:25 +0000)]
lib/DBIx/Class/Storage/DBI/Sybase.pm

index e8b9052..f82a3c5 100644 (file)
@@ -852,7 +852,7 @@ C<SMALLDATETIME> 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