mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 11:50:30 +02:00
EONE-130: Add support for InnoDB tables in installer
This commit is contained in:
@@ -357,7 +357,7 @@ CREATE TABLE online (
|
||||
online_active int(10) unsigned NOT NULL default '0',
|
||||
online_agent varchar(255) NOT NULL default '',
|
||||
KEY online_ip (online_ip)
|
||||
) TYPE=MyISAM;
|
||||
) TYPE=InnoDB;
|
||||
# --------------------------------------------------------
|
||||
|
||||
#
|
||||
|
@@ -1357,7 +1357,7 @@ class e_install
|
||||
return nl2br(LANINS_060)."<br /><br />";
|
||||
}
|
||||
|
||||
preg_match_all("/create(.*?)myisam;/si", $sql_data, $result );
|
||||
preg_match_all("/create(.*?)(?:myisam|innodb);/si", $sql_data, $result );
|
||||
|
||||
// Force UTF-8 again
|
||||
$this->dbqry('SET NAMES `utf8`');
|
||||
|
Reference in New Issue
Block a user