Commit 76358c3b authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 858909: When running checksetup.pl for the first time using Oracle as DB…

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
parent e1e505f4
...@@ -59,7 +59,7 @@ sub new { ...@@ -59,7 +59,7 @@ sub new {
my $dsn = "dbi:Oracle:host=$host;sid=$dbname"; my $dsn = "dbi:Oracle:host=$host;sid=$dbname";
$dsn .= ";port=$port" if $port; $dsn .= ";port=$port" if $port;
my $attrs = { FetchHashKeyName => 'NAME_lc', my $attrs = { FetchHashKeyName => 'NAME_lc',
LongReadLen => max(Bugzilla->params->{'maxattachmentsize'}, LongReadLen => max(Bugzilla->params->{'maxattachmentsize'} || 0,
MIN_LONG_READ_LEN) * 1024, MIN_LONG_READ_LEN) * 1024,
}; };
my $self = $class->db_new({ dsn => $dsn, user => $user, my $self = $class->db_new({ dsn => $dsn, user => $user,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment