From: Rafael Kitover Date: Thu, 30 Jul 2009 16:04:47 +0000 (+0000) Subject: make sure DBD::Oracle is loaded when using constants from it X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=efc5bf40edc1f556168f33da92913bbee2570ace;p=dbsrgits%2FDBIx-Class-Historic.git make sure DBD::Oracle is loaded when using constants from it --- diff --git a/lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm b/lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm index a9da2c7..1593978 100644 --- a/lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm +++ b/lib/DBIx/Class/Storage/DBI/Oracle/Generic.pm @@ -231,6 +231,7 @@ table with more than one LOB column. sub source_bind_attributes { + require DBD::Oracle; my $self = shift; my($source) = @_;