Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
mysql db driver
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Jun 2014 at 12:05 UTC
Updated:
8 Jul 2015 at 03:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
chx commentedWe shouldn't. To quote catch from the parent
To quote myself
Based on these two, there's no reason to do this and a good reason not to.
Alternatively, we can do this for launch and drop it later -- but usually it is very hard to remove anything from core once it's got in so I'd like to establish some deadline (one year from 8.0.0 or something) when we drop it. Future proofing Drupal, you know.
Comment #2
catchRight now Drupal installs with InnoDB if it's available. So if other engines show up, unless the report themselves as InnoDB, they'll be ignored by the installer.
Additionally I think we should only warn if both MyISAM is the default and nothing shows up as InnoDB.
It might even be possible to get more reliable than this - i.e. could we create a table, see which engine it's created with, and only warn if it's MyISAM?
Comment #3
chx commented> It might even be possible to get more reliable than this - i.e. could we create a table, see which engine it's created with, and only warn if it's MyISAM?
Smart. I definitely can get behind that.
Comment #4
morgantocker commentedFor some MySQL version context:
- 5.5 and above default to InnoDB.
- 5.6 and above have NO_ENGINE_SUBSTITUTION enabled by default (will not switch to another engine if the engine specified is not available).
Comment #5
chx commentedWelcome to the core issue queue, Mr Tocker, I don't think I have seen you before here, your expertise is more than welcome!
Comment #6
danblack commentedall for the sidelining of MyISAM here. Tokudb probably works just as well as innodb but I haven't tested it. So just warning about an exclusive innodb test isn't he best one.
Comment #7
jhedstromThis updates the CHANGELOG.txt file, and adds a warning if MyISAM is the default, and InnoDB is not available.
Comment #9
daffie commentedLooks good to me.
Comment #10
alexpottThis issue is a major task that will improve usability and the disruption it introduces is limited. Per https://www.drupal.org/core/beta-changes, this is a good change to complete during the Drupal 8 beta phase. Committed b90319a and pushed to 8.0.x. Thanks!
I couldn't think of a way to test this.