Skip to content

Commit

Permalink
solves #9326
Browse files Browse the repository at this point in the history
  • Loading branch information
andrepereiradasilva committed Mar 7, 2016
1 parent c8a23b4 commit 7cacd55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/joomla/database/driver.php
Original file line number Diff line number Diff line change
Expand Up @@ -854,6 +854,7 @@ protected function getCreateDatabaseQuery($options, $utf)
if ($utf)
{
$charset = $this->utf8mb4 ? 'utf8mb4' : 'utf8';
$collation = $charset . '_unicode_ci';

return 'CREATE DATABASE ' . $this->quoteName($options->db_name) . ' CHARACTER SET `' . $charset . '` COLLATE `' . $collation . '`';
}
Expand Down

0 comments on commit 7cacd55

Please sign in to comment.