1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-20 13:21:30 +02:00

Unsubstite constants (PHP 5 is now required)

This commit is contained in:
Jakub Vrana
2021-02-23 12:42:11 +01:00
parent 205305d6b5
commit af1a908f56
4 changed files with 8 additions and 8 deletions

View File

@@ -266,7 +266,7 @@ if (!defined("DRIVER")) {
}
function query($query, $unbuffered = false) {
$this->pdo->setAttribute(1000, !$unbuffered); // 1000 - PDO::MYSQL_ATTR_USE_BUFFERED_QUERY
$this->pdo->setAttribute(PDO::MYSQL_ATTR_USE_BUFFERED_QUERY, !$unbuffered);
return parent::query($query, $unbuffered);
}
}