Add informations on query performance and affected rows
[platal.git] / templates / database-debug.tpl
index 944ad65..b168aea 100644 (file)
       {$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}