mirror of
https://github.com/vrana/adminer.git
synced 2025-08-18 04:11:27 +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:
@@ -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',
|
||||
);
|
||||
|
@@ -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