Index: branches/RC/core/units/categories/cache_updater.php =================================================================== diff -u -r9335 -r11357 --- branches/RC/core/units/categories/cache_updater.php (.../cache_updater.php) (revision 9335) +++ branches/RC/core/units/categories/cache_updater.php (.../cache_updater.php) (revision 11357) @@ -294,8 +294,11 @@ $this->Conn->Query($sql); } - $this->Conn->Query('CREATE TABLE '.$this->progressTable.'(data LONGTEXT)'); + $add_charset = defined(SQL_CHARSET)? ' CHARACTER SET '.SQL_CHARSET.' ' : ''; + $add_collation = defined(SQL_COLLATION)? ' COLLATE '.SQL_COLLATION.' ' : ''; + $this->Conn->Query('CREATE TABLE '.$this->progressTable.'(data LONGTEXT'.$add_charset.$add_collantion.') '.$add_charset.$add_collantion); + $this->totalCats = (int)$this->Conn->GetOne('SELECT COUNT(*) FROM '.TABLE_PREFIX.'Category'); $this->doneCats = 0; }