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

Pass start time to selectQuery

This commit is contained in:
Jakub Vrana
2018-02-01 11:54:39 +01:00
parent ebb23a7a88
commit d667f585e0
5 changed files with 8 additions and 8 deletions

View File

@@ -140,8 +140,8 @@ ORDER BY ORDINAL_POSITION", null, "") as $row) { //! requires MySQL 5
}
}
function selectQuery($query, $time) {
return "<!--\n" . str_replace("--", "--><!-- ", $query) . "\n($time)\n-->\n";
function selectQuery($query, $start) {
return "<!--\n" . str_replace("--", "--><!-- ", $query) . "\n(" . format_time($start) . ")\n-->\n";
}
function rowDescription($table) {