Fix displaying length of blob columns
This commit is contained in:
parent
0448bd118c
commit
15e83e9396
|
@ -202,7 +202,7 @@ username.form['auth[driver]'].onchange();
|
|||
function selectVal($val, $link, $field) {
|
||||
$return = ($val === null ? "<i>NULL</i>" : (ereg("char|binary", $field["type"]) && !ereg("var", $field["type"]) ? "<code>$val</code>" : $val));
|
||||
if (ereg('blob|bytea|raw|file', $field["type"]) && !is_utf8($val)) {
|
||||
$return = lang('%d byte(s)', strlen($val));
|
||||
$return = lang('%d byte(s)', strlen(html_entity_decode($val, ENT_QUOTES)));
|
||||
}
|
||||
return ($link ? "<a href='" . h($link) . "'>$return</a>" : $return);
|
||||
}
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
<?php
|
||||
$VERSION = "3.6.3";
|
||||
$VERSION = "3.6.4-dev";
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
Adminer 3.6.3 (released 2012-01-23):
|
||||
Adminer 3.6.4-dev:
|
||||
|
||||
Adminer 3.6.3 (released 2013-01-23):
|
||||
Display error code in SQL query
|
||||
Allow specifying external links
|
||||
Treat Meta key same as Ctrl
|
||||
|
|
Loading…
Reference in a new issue