projects
/
dbsrgits/DBIx-Class.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
a bit cleaner warning suppression for DBD::InterBase only
[dbsrgits/DBIx-Class.git]
/
lib
/
DBIx
/
Class
/
Storage
/
DBI
/
InterBase.pm
diff --git
a/lib/DBIx/Class/Storage/DBI/InterBase.pm
b/lib/DBIx/Class/Storage/DBI/InterBase.pm
index
1abddf1
..
352dcc5
100644
(file)
--- a/
lib/DBIx/Class/Storage/DBI/InterBase.pm
+++ b/
lib/DBIx/Class/Storage/DBI/InterBase.pm
@@
-158,6
+158,8
@@
sub _set_sql_dialect {
sub _populate_server_info {
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(@_);