From 22acd83abbfa5eaeb2c7cd2f21db51b5dfd4ace0 Mon Sep 17 00:00:00 2001 From: Denis Flaven Date: Thu, 23 Feb 2012 13:59:45 +0000 Subject: [PATCH] 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] --- synchro/synchrodatasource.class.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synchro/synchrodatasource.class.inc.php b/synchro/synchrodatasource.class.inc.php index 0a0e9b09b..b64292990 100644 --- a/synchro/synchrodatasource.class.inc.php +++ b/synchro/synchrodatasource.class.inc.php @@ -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();