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:
Denis Flaven
2012-02-23 13:59:45 +00:00
parent b172c53aad
commit 22acd83abb

View File

@@ -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();