From 94c51c09dda8c516d12ec5f50c6abd581c74d514 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 15 Feb 2013 14:37:02 +0100 Subject: phpMyAdmin: fix MariaDB reported as MySQL --- phpMyAdmin-mariadb.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 phpMyAdmin-mariadb.patch diff --git a/phpMyAdmin-mariadb.patch b/phpMyAdmin-mariadb.patch new file mode 100644 index 0000000..c730f4d --- /dev/null +++ b/phpMyAdmin-mariadb.patch @@ -0,0 +1,11 @@ +--- phpMyAdmin-3.5.7-all-languages/libraries/common.lib.php~ 2013-02-15 14:20:13.675872709 +0100 ++++ phpMyAdmin-3.5.7-all-languages/libraries/common.lib.php 2013-02-15 14:20:34.185961593 +0100 +@@ -3752,7 +3752,7 @@ + $server_type = 'MySQL'; + if (PMA_DRIZZLE) { + $server_type = 'Drizzle'; +- } else if (strpos(PMA_MYSQL_STR_VERSION, 'mariadb') !== false) { ++ } else if (strpos(strtolower(PMA_MYSQL_STR_VERSION), 'mariadb') !== false) { + $server_type = 'MariaDB'; + } else if (stripos(PMA_MYSQL_VERSION_COMMENT, 'percona') !== false) { + $server_type = 'Percona Server'; -- cgit