]> git.joonet.de Git - adminer.git/commitdiff
MySQL: Fix highlighting current table in menu on macOS
authorPeter Knut <peter@pematon.com>
Wed, 30 Oct 2024 21:12:50 +0000 (22:12 +0100)
committerJakub Vrana <jakub@vrana.cz>
Wed, 19 Feb 2025 10:16:41 +0000 (11:16 +0100)
adminer/drivers/mysql.inc.php

index 18b8e6b70875e746adf925c49426115f9d63eb77..f86ff996a8f32fa3964a02a810d94ca0e53305ce 100644 (file)
@@ -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;