Details
-
Type:
Task
-
Status: Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Fix Version/s: 10.0
-
Component/s: None
-
Labels:None
Description
I think the have_innodb variable should be restored in MariaDB 10 as there are some PHP applications (tested with Magento) that check for the existance of INNODB storage engine with the contents of that variable.
In their database connector I had to change:
$variables = $this->_getConnection()
->fetchPairs('SHOW VARIABLES');
return (!isset($variables['have_innodb']) || $variables['have_innodb'] != 'YES') ? false : true;
To
$engines = $this->_getConnection()
->fetchPairs('SHOW ENGINES');
return (!isset($engines['InnoDB']) || $engines['InnoDB'] != 'YES') ? false : true;
And managed it to pass the check.
Still I'd like that the have_innodb removal is reverted in order to restore compatibility with other software.
Gliffy Diagrams
Attachments
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
without modifying the server, this can be done with a special "have" daemon plugin that provides missing "have_xxx" variables for whoever needs them.