-
Bug
-
Resolution: Fixed
-
Minor
-
3.2.5, 3.3.2, 3.4
-
MySQL
-
MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
-
MOODLE_32_STABLE, MOODLE_33_STABLE
-
m34_
MDL-59100_MySQL8_INFORMATION_SCHEMAs_Need_Lowercasing -
This patch fixes it, similar to patches elsewhere..
diff --git a/lib/dml/mysqli_native_moodle_database.php b/lib/dml/mysqli_native_moodle_database.php
|
index 4227826b9d..a6956fd062 100644 |
--- a/lib/dml/mysqli_native_moodle_database.php
|
+++ b/lib/dml/mysqli_native_moodle_database.php
|
@@ -691,6 +691,7 @@ class mysqli_native_moodle_database extends moodle_database { |
if ($result->num_rows > 0) { |
// standard table exists |
while ($rawcolumn = $result->fetch_assoc()) { |
+ $rawcolumn = array_change_key_case($rawcolumn, CASE_LOWER);
|
$info = (object)$this->get_column_info((object)$rawcolumn); |
$structure[$info->name] = new database_column_info($info); |
}
|
|
- blocks
-
MDL-59099 Row format options removed
-
- Closed
-