Display time of the select command

This commit is contained in:
Jakub Vrana 2014-02-23 18:34:00 -08:00
parent 7639ff8b95
commit 0fdedcbaa5
2 changed files with 5 additions and 2 deletions

View file

@ -42,10 +42,12 @@
"\n" "\n"
); );
} }
$start = microtime(true);
$return = $this->_conn->query($query);
if ($print) { if ($print) {
echo $adminer->selectQuery($query); echo $adminer->selectQuery($query . ";\n-- " . format_time($start, microtime(true)));
} }
return $this->_conn->query($query); return $return;
} }
/** Delete data from table /** Delete data from table

View file

@ -1,4 +1,5 @@
Adminer 4.0.4-dev: Adminer 4.0.4-dev:
Display time of the select command
Improve gzip export ratio (bug #387) Improve gzip export ratio (bug #387)
MySQL: Respect daylight saving time in dump, bug since Adminer 3.6.4 MySQL: Respect daylight saving time in dump, bug since Adminer 3.6.4
SQLite: Display auto-created unique indexes, bug since Adminer 3.5.0 SQLite: Display auto-created unique indexes, bug since Adminer 3.5.0