git-svn-id: http://xe-core.googlecode.com/svn/trunk@1114 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-12 08:28:04 +00:00
parent 1ea27b0635
commit a35fd84e0e
7 changed files with 380 additions and 313 deletions

View file

@ -125,7 +125,7 @@
}
function actFinish() {
if(!__DEBUG__) return;
if(!__DEBUG__ || !$this->query) return;
$this->act_finish = getMicroTime();
$elapsed_time = $this->act_finish - $this->act_start;
$GLOBALS['__db_elapsed_time__'] += $elapsed_time;
@ -138,6 +138,7 @@
$str .= "\t Query Success\n";
}
$GLOBALS['__db_queries__'] .= $str;
$this->query = null;
}
/**