]> git.joonet.de Git - adminer.git/commitdiff
Select only required routine columns (possible fix for bug #3515776)
authorJakub Vrana <jakub@vrana.cz>
Sat, 27 Apr 2013 20:04:54 +0000 (13:04 -0700)
committerJakub Vrana <jakub@vrana.cz>
Sat, 27 Apr 2013 20:04:54 +0000 (13:04 -0700)
adminer/drivers/mysql.inc.php
adminer/include/version.inc.php

index 8c412dcaf261c5c2cf06855006130155b61f05d2..ce584a1aff5631cd050a80a324e288353cbe3f03 100644 (file)
@@ -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
index 511807ab4fbb6be9eae6d7673de4b062f08fcced..f6899476bb361e9060bfce3d52224d728a568d73 100644 (file)
@@ -1,2 +1,2 @@
 <?php
-$VERSION = "3.6.5-dev";
+$VERSION = "3.7.0-dev";