--- a/adminer/include/driver.inc.php
+++ b/adminer/include/driver.inc.php
@@ -8,6 +8,14 @@
 	*/
 	function Min_SQL($connection) {
 		$this->_conn = $connection;
+	}
+	
+	/** Quote a SQL string or null value
+	* @param string
+	* @return string
+	*/
+	function quote($value) {
+		return ($value === null ? "NULL" : $this->_conn->quote($value));
 	}
 	
 	/** Select data from table