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:
@@ -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
|
||||
|
Reference in New Issue
Block a user