Bug 858909: When running checksetup.pl for the first time using Oracle as DB server, you get an "uninitialized value" warning

r=dkl a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264838 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org 2013-04-28 11:47:55 +00:00
parent adfbaeccc0
commit 58d9e6b25a
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
8614
8615

View File

@ -60,7 +60,7 @@ sub new {
my $dsn = "dbi:Oracle:host=$host;sid=$dbname";
$dsn .= ";port=$port" if $port;
my $attrs = { FetchHashKeyName => 'NAME_lc',
LongReadLen => max(Bugzilla->params->{'maxattachmentsize'},
LongReadLen => max(Bugzilla->params->{'maxattachmentsize'} || 0,
MIN_LONG_READ_LEN) * 1024,
};
my $self = $class->db_new({ dsn => $dsn, user => $user,