summaryrefslogtreecommitdiff
path: root/it_dbi.class
diff options
context:
space:
mode:
Diffstat (limited to 'it_dbi.class')
-rw-r--r--it_dbi.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_dbi.class b/it_dbi.class
index dfc5765..d08f63f 100644
--- a/it_dbi.class
+++ b/it_dbi.class
@@ -463,7 +463,7 @@ function query($query, $p = array())
}
- if ($GLOBALS['debug_sqllog'])
+ if ($GLOBALS['debug_sqllog'] || $GLOBALS['debug_sqltrace'])
{
$end = gettimeofday();
$msec = round(($end['sec'] - $start['sec']) * 1000 + ($end['usec'] - $start['usec']) / 1000);