Fix #12242 : Edit routine detail dialog does not fill "Return length" field in mysql functions

Use correct field to get the details about the length of returning value's datatype

Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
This commit is contained in:
Deven Bansod 2016-09-20 17:00:15 +05:30
parent d519c9039e
commit 38cb18b0de

View File

@ -654,7 +654,7 @@ function PMA_RTN_getDataFromName($name, $type, $all = true, $control = false)
}
$retval['item_returntype'] = $stmt->return->name;
$retval['item_returnlength'] = implode(',', $stmt->return->size);
$retval['item_returnlength'] = implode(',', $stmt->return->parameters);
$retval['item_returnopts_num'] = implode(' ', $options);
$retval['item_returnopts_text'] = implode(' ', $options);
}