PHP 4 compatibility
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1230 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
43784999ca
commit
c6addd72ae
|
@ -134,7 +134,7 @@ if (extension_loaded("mysqli")) {
|
|||
}
|
||||
|
||||
function query($query, $unbuffered = false) {
|
||||
$this->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, !$unbuffered);
|
||||
$this->setAttribute(1000, !$unbuffered); // 1000 - PDO::MYSQL_ATTR_USE_BUFFERED_QUERY
|
||||
return parent::query($query, $unbuffered);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue