X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FStorage%2FDBI%2FSybase%2FMSSQL.pm;h=bd833df4ddac4c47565b57938b8b5a50f507cb67;hb=28cea3aa579791963ea117bdbfdbd4ee3e948555;hp=cc3ad12afbe86be773c0c6bbd4da6e4dc67897a4;hpb=0814e8043fb4dbad52bab9d77f5c9891feaa77d9;p=dbsrgits%2FDBIx-Class-Historic.git diff --git a/lib/DBIx/Class/Storage/DBI/Sybase/MSSQL.pm b/lib/DBIx/Class/Storage/DBI/Sybase/MSSQL.pm index cc3ad12..bd833df 100644 --- a/lib/DBIx/Class/Storage/DBI/Sybase/MSSQL.pm +++ b/lib/DBIx/Class/Storage/DBI/Sybase/MSSQL.pm @@ -3,18 +3,32 @@ package DBIx::Class::Storage::DBI::Sybase::MSSQL; use strict; use warnings; -use base qw/ - DBIx::Class::Storage::DBI::ODBC::Microsoft_SQL_Server - DBIx::Class::Storage::DBI::NoBindVars - DBIx::Class::Storage::DBI::Sybase -/; +use Carp::Clan qw/^DBIx::Class/; + +carp 'Setting of storage_type is redundant as connections through DBD::Sybase' + .' are now properly recognized and reblessed into the appropriate subclass' + .' (DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server in the' + .' case of MSSQL). Please remove the explicit call to' + .q/ $schema->storage_type('::DBI::Sybase::MSSQL')/ + .', as this storage class has been deprecated in favor of the autodetected' + .' ::DBI::Sybase::Microsoft_SQL_Server'; + + +use base qw/DBIx::Class::Storage::DBI::Sybase::Microsoft_SQL_Server/; +use mro 'c3'; 1; =head1 NAME -DBIx::Class::Storage::DBI::Sybase::MSSQL - Storage::DBI subclass for MSSQL via -DBD::Sybase +DBIx::Class::Storage::DBI::Sybase::MSSQL - (DEPRECATED) Legacy storage class for MSSQL via DBD::Sybase + +=head1 NOTE + +Connections through DBD::Sybase are now correctly recognized and reblessed +into the appropriate subclass (L +in the case of MSSQL). Please remove the explicit storage_type setting from your +schema. =head1 SYNOPSIS