diff options
author | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-10-20 01:45:47 +0200 |
---|---|---|
committer | Max Kanat-Alexander <mkanat@bugzilla.org> | 2010-10-20 01:45:47 +0200 |
commit | 956e50863d553ed397f15c4c640d07aecf4c8cc5 (patch) | |
tree | 1165403a5eb6f70b2d80ed8d6e147c46d07f2e56 /Bugzilla/Constants.pm | |
parent | 509189f0c586ed468287d323e03e0cd2658fd198 (diff) | |
download | bugzilla-956e50863d553ed397f15c4c640d07aecf4c8cc5.tar.gz bugzilla-956e50863d553ed397f15c4c640d07aecf4c8cc5.tar.xz |
Bug 605663: For MySQL, use information_schema instead of SHOW TABLE STATUS
to get table information during checksetup, because it's much faster.
This also bumps our MySQL requirement to 5.0.15.
r=mkanat, a=mkanat (module owner)
Diffstat (limited to 'Bugzilla/Constants.pm')
-rw-r--r-- | Bugzilla/Constants.pm | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Bugzilla/Constants.pm b/Bugzilla/Constants.pm index 14c3f2b26..9ce2c9f94 100644 --- a/Bugzilla/Constants.pm +++ b/Bugzilla/Constants.pm @@ -479,14 +479,16 @@ use constant INSTALLATION_MODE_NON_INTERACTIVE => 1; # Data about what we require for different databases. use constant DB_MODULE => { - 'mysql' => {db => 'Bugzilla::DB::Mysql', db_version => '4.1.2', + # MySQL 5.0.15 was the first production 5.0.x release. + 'mysql' => {db => 'Bugzilla::DB::Mysql', db_version => '5.0.15', dbd => { package => 'DBD-mysql', module => 'DBD::mysql', # Disallow development versions blacklist => ['_'], - # For UTF-8 support - version => '4.00', + # For UTF-8 support. 4.001 makes sure that blobs aren't + # marked as UTF-8. + version => '4.001', }, name => 'MySQL'}, 'pg' => {db => 'Bugzilla::DB::Pg', db_version => '8.03.0000', |