From 33b954eb2ddbfebf77c5892ecb48c04613db734d Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 27 Aug 2009 13:46:14 +0000 Subject: sqltrace implies sqllog --- it_dbi.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'it_dbi.class') 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); -- cgit v1.2.3