1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-16 11:34:10 +02:00

MySQL: Unsupport hex function

This commit is contained in:
Jakub Vrana
2012-09-08 22:39:15 -07:00
parent aff4d7de91
commit 31a608e398
3 changed files with 4 additions and 4 deletions

View File

@@ -543,7 +543,7 @@ username.form['auth[driver]'].onchange();
$return = idf_escape($name) . " $function " . (preg_match("~^(\\d+|'[0-9.: -]') [A-Z_]+$~i", $value) ? $value : $return);
} elseif (ereg('^(addtime|subtime|concat)$', $function)) {
$return = "$function(" . idf_escape($name) . ", $return)";
} elseif (ereg('^(md5|sha1|password|encrypt|hex)$', $function)) {
} elseif (ereg('^(md5|sha1|password|encrypt)$', $function)) {
$return = "$function($return)";
}
if (ereg("binary", $field["type"])) {