summaryrefslogtreecommitdiffstats
path: root/Bugzilla/DB.pm
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.pm
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.pm')
-rw-r--r--Bugzilla/DB.pm6
1 files changed, 5 insertions, 1 deletions
diff --git a/Bugzilla/DB.pm b/Bugzilla/DB.pm
index 850ea683a..f252420f6 100644
--- a/Bugzilla/DB.pm
+++ b/Bugzilla/DB.pm
@@ -187,7 +187,7 @@ sub _handle_error {
}
# List of abstract methods we are checking the derived class implements
-our @_abstract_methods = qw(REQUIRED_VERSION PROGRAM_NAME
+our @_abstract_methods = qw(REQUIRED_VERSION PROGRAM_NAME DBD_VERSION
new sql_regexp sql_not_regexp sql_limit sql_to_days
sql_date_format sql_interval
bz_lock_tables bz_unlock_tables);
@@ -963,6 +963,10 @@ to the admin to let them know what DB they're running.
The name of the Bugzilla::DB module that we are. For example, for the MySQL
Bugzilla::DB module, this would be "Mysql." For PostgreSQL it would be "Pg."
+=item C<DBD_VERSION>
+
+The minimum version of the DBD module that we require for this database.
+
=head1 CONNECTION
A new database handle to the required database can be created using this