projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add informations on query performance and affected rows
[platal.git]
/
templates
/
database-debug.tpl
diff --git
a/templates/database-debug.tpl
b/templates/database-debug.tpl
index
944ad65
..
b168aea
100644
(file)
--- a/
templates/database-debug.tpl
+++ b/
templates/database-debug.tpl
@@
-37,6
+37,13
@@
{$query.error|nl2br}
</td>
</tr>
+ {else}
+ <tr>
+ <td>
+ <strong>INFO:</strong><br />
+ {$query.rows} enregistrement{if $query.rows > 1}s{/if} en {$query.exectime}ms
+ </td>
+ </tr>
{/if}
</table>
{if $query.explain}