Last modified: 2009-07-02 01:00:30 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T13242, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 11242 - Check for MySQL storage engines during installation doesn't check whether engine is actually available
Check for MySQL storage engines during installation doesn't check whether eng...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
1.16.x
All All
: Normal minor (vote)
: ---
Assigned To: Chad H.
: patch, patch-need-review
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-09-08 21:52 UTC by janrei.g
Modified: 2009-07-02 01:00 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
Improve storage engine check (495 bytes, patch)
2007-09-08 21:52 UTC, janrei.g
Details

Description janrei.g 2007-09-08 21:52:17 UTC
Created attachment 4090 [details]
Improve storage engine check

During installation MediaWiki checks the result of the MySQL query "SHOW ENGINES" whether the selected engine is listed in the "Engine" column. However, this query returns all engines MySQL knows about no matter whether they are actually available. It is necessary to check the "Support" column as well, only if it contains "YES" or "DEFAULT" the corresponding engine is supported.

I have attached a patch to add this check.
Comment 1 Chad H. 2009-07-01 13:23:50 UTC
Assigning to me, can commit this later today.
Comment 2 Chad H. 2009-07-02 01:00:30 UTC
Done in r52672

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links