diff options
author | mkanat%bugzilla.org <> | 2008-12-24 04:43:36 +0100 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2008-12-24 04:43:36 +0100 |
commit | 8a3d4469cc85108a194a78ac95f2a6780d2971eb (patch) | |
tree | c89a2d8abb28b792bcdcf04ea76291842dd91d59 /Bugzilla/DB/Oracle.pm | |
parent | 570ca770d29d7800f79d6789c2b1142e383a348a (diff) | |
download | bugzilla-8a3d4469cc85108a194a78ac95f2a6780d2971eb.tar.gz bugzilla-8a3d4469cc85108a194a78ac95f2a6780d2971eb.tar.xz |
Bug 284184: Allow Bugzilla to use an asynchronous job queue for sending mail.
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> and Mark Smith <mark@plogs.net> r=glob, a=mkanat
Diffstat (limited to 'Bugzilla/DB/Oracle.pm')
-rw-r--r-- | Bugzilla/DB/Oracle.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Bugzilla/DB/Oracle.pm b/Bugzilla/DB/Oracle.pm index 833fce635..4153751fd 100644 --- a/Bugzilla/DB/Oracle.pm +++ b/Bugzilla/DB/Oracle.pm @@ -65,13 +65,15 @@ sub new { $ENV{'NLS_LANG'} = '.AL32UTF8' if Bugzilla->params->{'utf8'}; # construct the DSN from the parameters we got - my $dsn = "DBI:Oracle:host=$host;sid=$dbname"; + my $dsn = "dbi:Oracle:host=$host;sid=$dbname"; $dsn .= ";port=$port" if $port; my $attrs = { FetchHashKeyName => 'NAME_lc', LongReadLen => ( Bugzilla->params->{'maxattachmentsize'} || 1000 ) * 1024, }; my $self = $class->db_new($dsn, $user, $pass, $attrs); + # Needed by TheSchwartz + $self->{private_bz_dsn} = $dsn; bless ($self, $class); |