diff options
author | mkanat%bugzilla.org <> | 2008-12-24 03:43:36 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2008-12-24 03:43:36 +0000 |
commit | 8a3d4469cc85108a194a78ac95f2a6780d2971eb (patch) | |
tree | c89a2d8abb28b792bcdcf04ea76291842dd91d59 /Bugzilla/DB/Pg.pm | |
parent | 570ca770d29d7800f79d6789c2b1142e383a348a (diff) | |
download | bugs-8a3d4469cc85108a194a78ac95f2a6780d2971eb.tar bugs-8a3d4469cc85108a194a78ac95f2a6780d2971eb.tar.gz bugs-8a3d4469cc85108a194a78ac95f2a6780d2971eb.tar.bz2 bugs-8a3d4469cc85108a194a78ac95f2a6780d2971eb.tar.xz bugs-8a3d4469cc85108a194a78ac95f2a6780d2971eb.zip |
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/Pg.pm')
-rw-r--r-- | Bugzilla/DB/Pg.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Bugzilla/DB/Pg.pm b/Bugzilla/DB/Pg.pm index 66ad4b1ec..18f9abf88 100644 --- a/Bugzilla/DB/Pg.pm +++ b/Bugzilla/DB/Pg.pm @@ -60,7 +60,7 @@ sub new { $dbname ||= 'template1'; # construct the DSN from the parameters we got - my $dsn = "DBI:Pg:dbname=$dbname"; + my $dsn = "dbi:Pg:dbname=$dbname"; $dsn .= ";host=$host" if $host; $dsn .= ";port=$port" if $port; @@ -75,6 +75,8 @@ sub new { # all class local variables stored in DBI derived class needs to have # a prefix 'private_'. See DBI documentation. $self->{private_bz_tables_locked} = ""; + # Needed by TheSchwartz + $self->{private_bz_dsn} = $dsn; bless ($self, $class); |