1
0
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:
Jakub Vrana
2025-03-17 19:40:21 +01:00
parent 17c0960e7f
commit 19313a8dab
11 changed files with 12 additions and 11 deletions

View File

@@ -383,7 +383,7 @@ if (isset($_GET["clickhouse"])) {
return '';
}
function last_id() {
function last_id($result) {
return 0; // ClickHouse doesn't have it
}

View File

@@ -570,7 +570,7 @@ if (isset($_GET["elastic"])) {
return $return;
}
function last_id() {
function last_id($result) {
return connection()->last_id;
}
}

View File

@@ -403,7 +403,7 @@ if (isset($_GET["mongo"])) {
return true;
}
function last_id() {
function last_id($result) {
return connection()->last_id;
}

View File

@@ -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()) {