1
0
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:
e107steved
2010-10-23 16:40:42 +00:00
parent a163c00172
commit 812ef3f7a5
2 changed files with 2 additions and 2 deletions

View File

@@ -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;
# --------------------------------------------------------
#

View File

@@ -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`');