Index: branches/5.2.x/core/units/categories/cache_updater.php =================================================================== diff -u -N -r16813 -r16814 --- branches/5.2.x/core/units/categories/cache_updater.php (.../cache_updater.php) (revision 16813) +++ branches/5.2.x/core/units/categories/cache_updater.php (.../cache_updater.php) (revision 16814) @@ -1,6 +1,6 @@ Conn->Query($sql); } - $add_charset = defined(SQL_CHARSET)? ' CHARACTER SET '.SQL_CHARSET.' ' : ''; - $add_collation = defined(SQL_COLLATION)? ' COLLATE '.SQL_COLLATION.' ' : ''; + $add_charset = defined('SQL_CHARSET') ? ' CHARACTER SET ' . SQL_CHARSET . ' ' : ''; + $add_collation = defined('SQL_COLLATION') ? ' COLLATE ' . SQL_COLLATION . ' ' : ''; $this->Conn->Query(sprintf( 'CREATE TABLE `%1$s` (data LONGTEXT%2$s%3$s) %2$s%3$s',