mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Do not use InnoDB if it is available but disabled
This commit is contained in:
parent
86e1568bd5
commit
29bdbce5c4
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ class installController extends install
|
|||
$show_engines = $oDB->_fetch($oDB->_query('SHOW ENGINES'));
|
||||
foreach($show_engines as $engine_info)
|
||||
{
|
||||
if ($engine_info->Engine === 'InnoDB')
|
||||
if ($engine_info->Engine === 'InnoDB' && $engine_info->Support !== 'NO')
|
||||
{
|
||||
$config->db_type .= '_innodb';
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue