From: Jakub Vrana Date: Sat, 27 Apr 2013 20:04:54 +0000 (-0700) Subject: Select only required routine columns (possible fix for bug #3515776) X-Git-Tag: v3.7.0~31 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=f7e671448c4cca70fb8116ff971a2725b8b6da90;p=adminer.git Select only required routine columns (possible fix for bug #3515776) --- diff --git a/adminer/drivers/mysql.inc.php b/adminer/drivers/mysql.inc.php index 8c412dca..ce584a1a 100644 --- a/adminer/drivers/mysql.inc.php +++ b/adminer/drivers/mysql.inc.php @@ -797,7 +797,7 @@ if (!defined("DRIVER")) { * @return array ("ROUTINE_TYPE" => , "ROUTINE_NAME" => , "DTD_IDENTIFIER" => ) */ function routines() { - return get_rows("SELECT * FROM information_schema.ROUTINES WHERE ROUTINE_SCHEMA = " . q(DB)); + return get_rows("SELECT ROUTINE_NAME, ROUTINE_TYPE, DTD_IDENTIFIER FROM information_schema.ROUTINES WHERE ROUTINE_SCHEMA = " . q(DB)); } /** Get list of available routine languages diff --git a/adminer/include/version.inc.php b/adminer/include/version.inc.php index 511807ab..f6899476 100644 --- a/adminer/include/version.inc.php +++ b/adminer/include/version.inc.php @@ -1,2 +1,2 @@