]> andersk Git - sql-web.git/blobdiff - lib/joe.lib.php
bug: dropping database outside the interface stops interface for all users
[sql-web.git] / lib / joe.lib.php
index 5ea684a686a632b4bd1c77dde718bbd60c1a5328..0bf1fb034a21da6178ebc1383827eb6597b024d3 100755 (executable)
@@ -68,6 +68,8 @@ function sessTime($query=null) {
 
   if (is_null($query)) {
     $timings[$key]['time'] = microtime(true)-$timings[$key]['time'];
+       if (mysql_error())
+               $timings[$key]['error'] = mysql_error();
     return true;
   } else {
     $timings[$key] = array();
This page took 0.050162 seconds and 4 git commands to generate.