Adding support for mysqli. MDL-8113
This commit is contained in:
@@ -170,6 +170,7 @@ function setup_is_unicodedb() {
|
||||
|
||||
switch ($dbtype) {
|
||||
case 'mysql':
|
||||
case 'mysqli':
|
||||
$rs = $db->Execute("SHOW VARIABLES LIKE 'character_set_database'");
|
||||
if ($rs && $rs->RecordCount() > 0) {
|
||||
$records = $rs->GetAssoc(true);
|
||||
|
||||
Reference in New Issue
Block a user