mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 17:14:07 +02:00
Comments
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1310 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -221,7 +221,7 @@ if (!$columns) {
|
||||
if ($val == "") {
|
||||
$val = " ";
|
||||
} elseif ($text_length != "" && ereg('text|blob', $field["type"]) && is_utf8($val)) {
|
||||
$val = shorten_utf8($val, max(0, intval($text_length))); // usage of LEFT() would reduce traffic but complicate query
|
||||
$val = shorten_utf8($val, max(0, intval($text_length))); // usage of LEFT() would reduce traffic but complicate query - expected average speedup: .001 s VS .01 s on local network
|
||||
} else {
|
||||
$val = h($val);
|
||||
}
|
||||
|
Reference in New Issue
Block a user