mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 18:14:07 +02:00
CockroachDB: Pass param length to routine drop (cockroachdb/cockroach#142886)
This commit is contained in:
@@ -775,7 +775,8 @@ ORDER BY SPECIFIC_NAME');
|
||||
function routine_id($name, $row) {
|
||||
$return = array();
|
||||
foreach ($row["fields"] as $field) {
|
||||
$return[] = $field["type"];
|
||||
$length = $field["length"];
|
||||
$return[] = $field["type"] . ($length ? "($length)" : "");
|
||||
}
|
||||
return idf_escape($name) . "(" . implode(", ", $return) . ")";
|
||||
}
|
||||
|
Reference in New Issue
Block a user