quitent an other diagnostics

This commit is contained in:
Ralf Becker 2005-11-14 08:32:59 +00:00
parent e139353781
commit 29ebabe0f5

View File

@ -543,7 +543,7 @@ class ADODB_mysqli extends ADOConnection {
$this->databaseName = $dbName; $this->databaseName = $dbName;
if ($this->_connectionID) { if ($this->_connectionID) {
$result = @mysqli_select_db($this->_connectionID, $dbName); $result = @mysqli_select_db($this->_connectionID, $dbName);
if (!$result) { if (!$result && $this->debug) {
ADOConnection::outp("Select of database " . $dbName . " failed. " . $this->ErrorMsg()); ADOConnection::outp("Select of database " . $dbName . " failed. " . $this->ErrorMsg());
} }
return $result; return $result;