From d065c9ba517d8eec6f24a865af34f70095d78aec Mon Sep 17 00:00:00 2001 From: Peter Knut Date: Wed, 30 Oct 2024 22:12:50 +0100 Subject: [PATCH] MySQL: Fix highlighting current table in menu on macOS --- adminer/drivers/mysql.inc.php | 2 ++ 1 file changed, 2 insertions(+) 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;