}
function convertSearch($idf, $val, $field) {
- return (preg_match('~char|text|enum|set~', $field["type"]) && !preg_match("~^utf8~", $field["collation"])
+ return (preg_match('~char|text|enum|set~', $field["type"]) && !preg_match("~^utf8~", $field["collation"]) && preg_match('~[\x80-\xFF]~', $val['val'])
? "CONVERT($idf USING " . charset($this->_conn) . ")"
: $idf
);
Stop session before connecting
Fix displaying info about non-alphabetical objects (bug #599)
PDO: Support binary fields download
+MySQL: Use CONVERT() only when searching for non-ASCII (bug #603)
Adminer 4.6.2 (released 2018-02-20):
Semi-transparent border on table actions