From 9be9c9abf56ffa5dfb6cc2d63fe8435d23fe3b90 Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Thu, 30 Aug 2007 12:33:13 +0000 Subject: [PATCH] BINARY in where() is fine git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@350 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- functions.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.inc.php b/functions.inc.php index df9810cd..885921eb 100644 --- a/functions.inc.php +++ b/functions.inc.php @@ -141,7 +141,7 @@ function where() { global $mysql; $return = array(); foreach ((array) $_GET["where"] as $key => $val) { - $return[] = idf_escape(bracket_escape($key, "back")) . " = '" . $mysql->escape_string($val) . "' COLLATE utf8_bin"; //! enum and set + $return[] = idf_escape(bracket_escape($key, "back")) . " = BINARY '" . $mysql->escape_string($val) . "'"; //! enum and set } foreach ((array) $_GET["null"] as $key) { $return[] = idf_escape(bracket_escape($key, "back")) . " IS NULL";