mirror of
https://github.com/vrana/adminer.git
synced 2025-08-17 20:01:25 +02:00
Non-MySQL binary types
This commit is contained in:
@@ -151,7 +151,7 @@ document.getElementById('username').focus();
|
||||
*/
|
||||
function selectVal($val, $link, $field) {
|
||||
$return = ($val != "<i>NULL</i>" && $field["type"] == "char" ? "<code>$val</code>" : $val);
|
||||
if (ereg('binary|blob|bytea', $field["type"]) && !is_utf8($val)) {
|
||||
if (ereg('binary|blob|bytea|raw|file', $field["type"]) && !is_utf8($val)) {
|
||||
$return = lang('%d byte(s)', strlen($val));
|
||||
}
|
||||
return ($link ? "<a href='$link'>$return</a>" : $return);
|
||||
|
Reference in New Issue
Block a user