mirror of
https://github.com/vrana/adminer.git
synced 2025-08-08 15:47:00 +02:00
Pass $result to last_id
This commit is contained in:
@@ -383,7 +383,7 @@ if (isset($_GET["clickhouse"])) {
|
||||
return '';
|
||||
}
|
||||
|
||||
function last_id() {
|
||||
function last_id($result) {
|
||||
return 0; // ClickHouse doesn't have it
|
||||
}
|
||||
|
||||
|
@@ -570,7 +570,7 @@ if (isset($_GET["elastic"])) {
|
||||
return $return;
|
||||
}
|
||||
|
||||
function last_id() {
|
||||
function last_id($result) {
|
||||
return connection()->last_id;
|
||||
}
|
||||
}
|
||||
|
@@ -403,7 +403,7 @@ if (isset($_GET["mongo"])) {
|
||||
return true;
|
||||
}
|
||||
|
||||
function last_id() {
|
||||
function last_id($result) {
|
||||
return connection()->last_id;
|
||||
}
|
||||
|
||||
|
@@ -395,7 +395,7 @@ if (isset($_GET["simpledb"])) {
|
||||
return ($where ? null : $table_status["Rows"]);
|
||||
}
|
||||
|
||||
function last_id() {
|
||||
function last_id($result) {
|
||||
}
|
||||
|
||||
function sdb_request($action, $params = array()) {
|
||||
|
Reference in New Issue
Block a user