Diff of /adminer/drivers/mysql.inc.php [8e0ead] .. [7dd90f]  Maximize  Restore

  Switch to side-by-side view

--- a/adminer/drivers/mysql.inc.php
+++ b/adminer/drivers/mysql.inc.php
@@ -530,14 +530,6 @@
 		if (ereg(' at line ([0-9]+)$', $connection->error, $regs)) {
 			return $regs[1] - 1;
 		}
-	}
-
-	/** Return expression for binary comparison
-	* @param string
-	* @return string
-	*/
-	function exact_value($val) {
-		return q($val) . " COLLATE utf8_bin";
 	}
 
 	/** Create database
@@ -983,7 +975,7 @@
 			$return = "UNHEX($return)";
 		}
 		if ($field["type"] == "bit") {
-			return "CONV($return, 2, 10) + 0";
+			$return = "CONV($return, 2, 10) + 0";
 		}
 		if (ereg("geometry|point|linestring|polygon", $field["type"])) {
 			$return = "GeomFromText($return)";

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks