Skip to content

Commit

Permalink
Change test for server type
Browse files Browse the repository at this point in the history
Change test for server type to same as for uft8mb4 supoort check.
  • Loading branch information
richard67 committed Mar 5, 2016
1 parent 636a664 commit 8effa10
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion installation/model/database.php
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,9 @@ public function createTables($options)
$query = $db->getQuery(true);

// MySQL only: Attempt to update the table #__utf8_conversion.
if (($type == 'mysql') || ($type == 'mysqli') || ($type == 'pdomysql'))
$serverType = $db->getServerType();

if ($serverType === 'mysql')
{
$query->clear()
->update($db->quoteName('#__utf8_conversion'))
Expand Down

0 comments on commit 8effa10

Please sign in to comment.