mirror of
https://github.com/vrana/adminer.git
synced 2025-08-11 00:54:08 +02:00
PostgreSQL: Unuse deleted fetch_field
This commit is contained in:
@@ -758,7 +758,8 @@ ORDER BY SPECIFIC_NAME');
|
||||
}
|
||||
|
||||
function last_id($result) {
|
||||
return (is_object($result) && $result->num_rows ? $result->fetch_column(0) : 0);
|
||||
$row = (is_object($result) ? $result->fetch_row() : array());
|
||||
return ($row ? $row[0] : 0);
|
||||
}
|
||||
|
||||
function explain($connection, $query) {
|
||||
|
Reference in New Issue
Block a user