X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FStorage%2FDBI%2FSybase%2FMicrosoft_SQL_Server.pm;h=5f904d8655c7b098cd9f5a4270324a6a07cf0963;hb=e8b77df681567ba57c8a12358cf9121cb8a9eeb1;hp=d0eb72bd1a97e2ac6abff321008a65fe55078462;hpb=4282b6f8db080b849df4a9d30c8c79aaaabc7838;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/Storage/DBI/Sybase/Microsoft_SQL_Server.pm b/lib/DBIx/Class/Storage/DBI/Sybase/Microsoft_SQL_Server.pm index d0eb72b..5f904d8 100644 --- a/lib/DBIx/Class/Storage/DBI/Sybase/Microsoft_SQL_Server.pm +++ b/lib/DBIx/Class/Storage/DBI/Sybase/Microsoft_SQL_Server.pm @@ -10,13 +10,15 @@ use base qw/ use mro 'c3'; use Carp::Clan qw/^DBIx::Class/; +# Temporary fix for mysterious MRO fail on 5.8 perls +Class::C3::reinitialize if $] < '5.01'; + sub _rebless { my $self = shift; my $dbh = $self->_get_dbh; return if ref $self ne __PACKAGE__; - - if (not $self->_typeless_placeholders_supported) { + if (not $self->_use_typeless_placeholders) { require DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server::NoBindVars; bless $self,