X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FStorage%2FDBI%2FSybase%2FASE.pm;h=017709c999d7a8a3240ae6a051deb30536a9cb9a;hb=514b84f6b60b566d75d2ff2ddd08659c4cf7b427;hp=604ddfa25fa4af04c07a044de3b17a3da34624b3;hpb=48580715af3072905f2c71dc27e7f70f21a11338;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/Storage/DBI/Sybase/ASE.pm b/lib/DBIx/Class/Storage/DBI/Sybase/ASE.pm index 604ddfa..017709c 100644 --- a/lib/DBIx/Class/Storage/DBI/Sybase/ASE.pm +++ b/lib/DBIx/Class/Storage/DBI/Sybase/ASE.pm @@ -4,23 +4,32 @@ use strict; use warnings; use base qw/ - DBIx::Class::Storage::DBI::Sybase - DBIx::Class::Storage::DBI::AutoCast + DBIx::Class::Storage::DBI::Sybase + DBIx::Class::Storage::DBI::AutoCast + DBIx::Class::Storage::DBI::IdentityInsert /; use mro 'c3'; -use Carp::Clan qw/^DBIx::Class/; -use Scalar::Util(); -use List::Util(); -use Sub::Name(); -use Data::Dumper::Concise(); +use DBIx::Class::Carp; +use Scalar::Util qw/blessed weaken/; +use Try::Tiny; +use Context::Preserve 'preserve_context'; +use DBIx::Class::_Util qw( sigwarn_silencer dbic_internal_try dump_value scope_guard set_subname ); +use namespace::clean; + +__PACKAGE__->sql_limit_dialect ('GenericSubQ'); +__PACKAGE__->sql_quote_char ([qw/[ ]/]); +__PACKAGE__->datetime_parser_type( + 'DBIx::Class::Storage::DBI::Sybase::ASE::DateTime::Format' +); __PACKAGE__->mk_group_accessors('simple' => - qw/_identity _blob_log_on_update _writer_storage _is_extra_storage + qw/_identity _identity_method _blob_log_on_update _parent_storage + _writer_storage _is_writer_storage _bulk_storage _is_bulk_storage _began_bulk_work - _bulk_disabled_due_to_coderef_connect_info_warned - _identity_method/ + / ); + my @also_proxy_to_extra_storages = qw/ connect_call_set_auto_cast auto_cast connect_call_blob_setup connect_call_datetime_setup @@ -49,7 +58,7 @@ With this driver there is unfortunately no way to get the C without doing a C as -it's a session variable. +are unnecessary and not used, as there are no concurrency issues with C