Mute mysql.trace_mode
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@652 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
111cbb324d
commit
123e4d0d64
|
@ -106,7 +106,7 @@ if (extension_loaded("mysqli")) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function query($query) {
|
function query($query) {
|
||||||
$result = mysql_query($query, $this->_link);
|
$result = @mysql_query($query, $this->_link); // mute mysql.trace_mode
|
||||||
if (!$result) {
|
if (!$result) {
|
||||||
$this->error = mysql_error($this->_link);
|
$this->error = mysql_error($this->_link);
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue