X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FDBIx%2FClass%2FStorage%2FDBI%2FInterBase.pm;h=a0f934a2df3adfb150cb5bb02cdba8611b801602;hb=6d766626a066b757058d023830f93cf39bb9c302;hp=3664d9c90d03685bfde419f4bb30026e8d4a95a6;hpb=bab40deebe87977cb35055321a722d0d1ccebcd5;p=dbsrgits%2FDBIx-Class.git diff --git a/lib/DBIx/Class/Storage/DBI/InterBase.pm b/lib/DBIx/Class/Storage/DBI/InterBase.pm index 3664d9c..a0f934a 100644 --- a/lib/DBIx/Class/Storage/DBI/InterBase.pm +++ b/lib/DBIx/Class/Storage/DBI/InterBase.pm @@ -29,7 +29,7 @@ L. =cut -sub can_insert_returning { 1 } +sub _supports_insert_returning { 1 } sub _sequence_fetch { my ($self, $nextval, $sequence) = @_; @@ -155,6 +155,16 @@ sub _set_sql_dialect { } } +sub _get_server_version { + my $self = shift; + + return $self->next::method(@_) if ref $self ne __PACKAGE__; + + local $SIG{__WARN__} = sub {}; # silence warning due to bug in DBD::InterBase + + return $self->next::method(@_); +} + =head2 connect_call_use_softcommit Used as: