1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-11 17:14:07 +02:00
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1310 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
jakubvrana
2010-02-15 14:30:54 +00:00
parent 5f6594e943
commit 1859adc488
3 changed files with 3 additions and 1 deletions

View File

@@ -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);
}