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

Print elapsed time in HTML instead of SQL command comment

This commit is contained in:
Jakub Vrana
2014-03-07 09:33:37 -08:00
parent d9fe03e1b4
commit 6a3ede75f6
10 changed files with 46 additions and 35 deletions

View File

@@ -17,7 +17,7 @@ class AdminerSqlLog {
$this->filename = $filename;
}
function messageQuery($query) {
function messageQuery($query, $time) {
if ($this->filename == "") {
$adminer = adminer();
$this->filename = $adminer->database() . ".sql"; // no database goes to ".sql" to avoid collisions