mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-01 00:02:21 +09:00
Select InnoDB engine automatically if available
This commit is contained in:
parent
e59dc59664
commit
6b5e95a0c4
15 changed files with 37 additions and 74 deletions
|
|
@ -114,7 +114,7 @@ class installView extends install
|
|||
}
|
||||
*/
|
||||
|
||||
$defaultDatabase = 'mysqli_innodb';
|
||||
$defaultDatabase = 'mysqli';
|
||||
$disableList = DB::getDisableList();
|
||||
if(is_array($disableList))
|
||||
{
|
||||
|
|
@ -122,7 +122,7 @@ class installView extends install
|
|||
{
|
||||
if($value->db_type == $defaultDatabase)
|
||||
{
|
||||
$defaultDatabase = 'mysqli';
|
||||
$defaultDatabase = 'mysql';
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue