From: Jakub Vrana Date: Fri, 12 Apr 2013 01:08:35 +0000 (-0700) Subject: Increase limit for using MD5 in select X-Git-Tag: v3.6.4~19 X-Git-Url: https://git.joonet.de/?a=commitdiff_plain;h=8cce005b7057b8e94ea43b9ec803532179a682f6;p=adminer.git Increase limit for using MD5 in select --- diff --git a/adminer/select.inc.php b/adminer/select.inc.php index 9a56c4ac..5a0809eb 100644 --- a/adminer/select.inc.php +++ b/adminer/select.inc.php @@ -335,7 +335,7 @@ if (!$columns) { $unique_array = unique_array($rows[$n], $indexes); $unique_idf = ""; foreach ($unique_array as $key => $val) { - if (strlen($val) > 10) { + if (strlen($val) > 64) { $key = "MD5(" . (strpos($key, '(') ? $key : idf_escape($key)) . ")"; //! columns looking like functions $val = md5($val); }