mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Make sure that the creation of the data_synchro_xxx tables uses the utf8 charset and collation and the same DB Engine as the rest of the database.
SVN:trunk[1867]
This commit is contained in:
@@ -702,7 +702,7 @@ EOF
|
||||
$aFieldDefs[] = "INDEX (primary_key)";
|
||||
$sFieldDefs = implode(', ', $aFieldDefs);
|
||||
|
||||
$sCreateTable = "CREATE TABLE `$sTable` ($sFieldDefs) ENGINE = innodb;";
|
||||
$sCreateTable = "CREATE TABLE `$sTable` ($sFieldDefs) ENGINE = ".MYSQL_ENGINE." CHARACTER SET utf8 COLLATE utf8_unicode_ci;";
|
||||
CMDBSource::Query($sCreateTable);
|
||||
|
||||
$aTriggers = $this->GetTriggersDefinition();
|
||||
|
||||
Reference in New Issue
Block a user