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

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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...
Product: MediaWiki
Classification: Unclassified
Installer (Other open bugs)
All All
: Normal minor (vote)
: ---
Assigned To: Chad H.
: patch, patch-need-review
Depends on:
  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: ---

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

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.