Select only required routine columns (possible fix for bug #3515776)

This commit is contained in:
Jakub Vrana 2013-04-27 13:04:54 -07:00
parent d97ae22fb4
commit f7e671448c
2 changed files with 2 additions and 2 deletions

View 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

View file

@ -1,2 +1,2 @@
<?php
$VERSION = "3.6.5-dev";
$VERSION = "3.7.0-dev";