mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 01:54:00 +02:00
Fix comment
This commit is contained in:
@@ -926,18 +926,14 @@ if (!defined("DRIVER")) {
|
||||
"collation" => strtolower($param[9]),
|
||||
);
|
||||
}
|
||||
$return = array(
|
||||
return array(
|
||||
"fields" => $fields,
|
||||
"comment" => $connection->result("SELECT ROUTINE_COMMENT FROM information_schema.ROUTINES WHERE ROUTINE_SCHEMA = " . q(DB) . " AND ROUTINE_NAME = " . q($name)),
|
||||
);
|
||||
if ($type != "FUNCTION") {
|
||||
return $return + array("definition" => $match[11]);
|
||||
}
|
||||
return $return + array(
|
||||
) + ($type != "FUNCTION" ? array("definition" => $match[11]) : array(
|
||||
"returns" => array("type" => $match[12], "length" => $match[13], "unsigned" => $match[15], "collation" => $match[16]),
|
||||
"definition" => $match[17],
|
||||
"language" => "SQL", // available in information_schema.ROUTINES.PARAMETER_STYLE
|
||||
);
|
||||
"language" => "SQL", // available in information_schema.ROUTINES.BODY_STYLE
|
||||
));
|
||||
}
|
||||
|
||||
/** Get list of routines
|
||||
|
Reference in New Issue
Block a user