]> git.joonet.de Git - adminer.git/commitdiff
Errors are reported by Adminer
authorJakub Vrana <jakub@vrana.cz>
Tue, 20 Jul 2010 09:42:05 +0000 (11:42 +0200)
committerJakub Vrana <jakub@vrana.cz>
Tue, 20 Jul 2010 09:42:05 +0000 (11:42 +0200)
adminer/drivers/mysql.inc.php

index 307a9aba30563535efc06e0318e02579b224952b..de449d2a2a6c7b8fbcec2f912d2761a2c9951558 100644 (file)
@@ -18,6 +18,7 @@ if (!defined("DRIVER")) {
                        }
                        
                        function connect($server, $username, $password) {
+                               mysqli_report(MYSQLI_REPORT_OFF); // stays between requests
                                list($host, $port) = explode(":", $server, 2); // part after : is used for port or socket
                                return @$this->real_connect(
                                        ($server != "" ? $host : ini_get("mysqli.default_host")),