diff options
author | Urban Müller | 2009-08-27 13:46:14 +0000 |
---|---|---|
committer | Urban Müller | 2009-08-27 13:46:14 +0000 |
commit | 33b954eb2ddbfebf77c5892ecb48c04613db734d (patch) | |
tree | 6d632758cf38ed0b5a227ce99e537166c94e15ca | |
parent | 4c4357320f50420edd0bbbdbb8449b5ee6f8d824 (diff) | |
download | itools-33b954eb2ddbfebf77c5892ecb48c04613db734d.tar.gz itools-33b954eb2ddbfebf77c5892ecb48c04613db734d.tar.bz2 itools-33b954eb2ddbfebf77c5892ecb48c04613db734d.zip |
sqltrace implies sqllog
-rw-r--r-- | it_dbi.class | 2 |
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); |