1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-14 02:23:59 +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

@@ -45,7 +45,7 @@
$start = microtime(true);
$return = $this->_conn->query($query);
if ($print) {
echo $adminer->selectQuery($query . ";\n-- " . format_time($start, microtime(true)));
echo $adminer->selectQuery($query, format_time($start, microtime(true)));
}
return $return;
}