1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-15 11:04:02 +02:00

Print current time next to executed SQL queries

This commit is contained in:
Jakub Vrana
2012-03-10 02:28:13 -08:00
parent b254503fb2
commit 24c51fe11f
5 changed files with 11 additions and 10 deletions

View File

@@ -408,7 +408,7 @@ ORDER BY ORDINAL_POSITION", null, "") as $row) { //! requires MySQL 5
}
function messageQuery($query) {
return "<!--\n" . str_replace("--", "--><!-- ", $query) . "\n-->";
return " <span class='time'>" . @date("H:i:s") . "</span><!--\n" . str_replace("--", "--><!-- ", $query) . "\n-->";
}
function editFunctions($field) {