1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-18 04:11:27 +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

@@ -8,4 +8,5 @@ $translations = array(
'%d item(s) have been affected.' => array('%d item has been affected.', '%d items have been affected.'),
'%d row(s) have been imported.' => array('%d row has been imported.', '%d rows have been imported.'),
'%d e-mail(s) have been sent.' => array('%d e-mail has been sent.', '%d e-mails have been sent.'),
'%d in total' => '%d in total',
);

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