mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 07:36:44 +02:00
MySQLi: Check for more results (fix #955)
This commit is contained in:
@@ -45,6 +45,10 @@ if (!defined('Adminer\DRIVER')) {
|
||||
return $this->query("SET NAMES $charset");
|
||||
}
|
||||
|
||||
function next_result() {
|
||||
return self::more_results() && parent::next_result(); // triggers E_STRICT on PHP < 7.4 otherwise
|
||||
}
|
||||
|
||||
function result($query, $field = 0) {
|
||||
$result = $this->query($query);
|
||||
if (!is_object($result)) {
|
||||
|
Reference in New Issue
Block a user