From: Peter Knut Date: Wed, 30 Oct 2024 21:12:50 +0000 (+0100) Subject: MySQL: Fix highlighting current table in menu on macOS X-Git-Tag: v4.16.0~64 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=d065c9ba517d8eec6f24a865af34f70095d78aec;p=adminer.git MySQL: Fix highlighting current table in menu on macOS --- diff --git a/adminer/drivers/mysql.inc.php b/adminer/drivers/mysql.inc.php index 18b8e6b7..f86ff996 100644 --- a/adminer/drivers/mysql.inc.php +++ b/adminer/drivers/mysql.inc.php @@ -508,6 +508,8 @@ if (!defined("DRIVER")) { $row["Comment"] = ""; } if ($name != "") { + // MariaDB: Table name is returned as lowercase on macOS, so we fix it here. + $row["Name"] = $name; return $row; } $return[$row["Name"]] = $row;