summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB
diff options
context:
space:
mode:
authormkanat%kerio.com <>2005-05-27 05:09:22 +0200
committermkanat%kerio.com <>2005-05-27 05:09:22 +0200
commit1af7f272868e1d7fa84c69be59be55abd62993d2 (patch)
treeff06e4732e6aeaa9e8eaf638da518e7e28786a9a /Bugzilla/DB
parent31985208f02a64aed42d915663504ba2eefd6bcf (diff)
downloadbugzilla-1af7f272868e1d7fa84c69be59be55abd62993d2.tar.gz
bugzilla-1af7f272868e1d7fa84c69be59be55abd62993d2.tar.xz
Bug 286672: Require correct DBD depending on the $db_driver in use
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave
Diffstat (limited to 'Bugzilla/DB')
-rw-r--r--Bugzilla/DB/Mysql.pm1
-rw-r--r--Bugzilla/DB/Pg.pm1
2 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/DB/Mysql.pm b/Bugzilla/DB/Mysql.pm
index afa7fe17d..4fb755da7 100644
--- a/Bugzilla/DB/Mysql.pm
+++ b/Bugzilla/DB/Mysql.pm
@@ -49,6 +49,7 @@ use base qw(Bugzilla::DB);
use constant REQUIRED_VERSION => '3.23.41';
use constant PROGRAM_NAME => 'MySQL';
use constant MODULE_NAME => 'Mysql';
+use constant DBD_VERSION => '2.9003';
sub new {
my ($class, $user, $pass, $host, $dbname, $port, $sock) = @_;
diff --git a/Bugzilla/DB/Pg.pm b/Bugzilla/DB/Pg.pm
index 4fe8d2244..86c5497cd 100644
--- a/Bugzilla/DB/Pg.pm
+++ b/Bugzilla/DB/Pg.pm
@@ -51,6 +51,7 @@ use constant BLOB_TYPE => { pg_type => DBD::Pg::PG_BYTEA };
use constant REQUIRED_VERSION => '7.03.0000';
use constant PROGRAM_NAME => 'PostgreSQL';
use constant MODULE_NAME => 'Pg';
+use constant DBD_VERSION => '1.31';
sub new {
my ($class, $user, $pass, $host, $dbname, $port) = @_;