diff options
author | Urban Müller | 2011-04-14 17:51:32 +0000 |
---|---|---|
committer | Urban Müller | 2011-04-14 17:51:32 +0000 |
commit | d50cafe953f91a1e8ca3248330564a5434360ce9 (patch) | |
tree | f8a6fc2d8d5222477922e473c61cf5e17af77d7d /it_dbi.class | |
parent | cc4dcf08009a02b881004456a38abc1e2fb08e54 (diff) | |
download | itools-d50cafe953f91a1e8ca3248330564a5434360ce9.tar.gz itools-d50cafe953f91a1e8ca3248330564a5434360ce9.tar.bz2 itools-d50cafe953f91a1e8ca3248330564a5434360ce9.zip |
consistent columns
Diffstat (limited to 'it_dbi.class')
-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 a414d3e..a183239 100644 --- a/it_dbi.class +++ b/it_dbi.class @@ -477,7 +477,7 @@ function query($query, $p = array()) if ($GLOBALS['debug_sqllog'] || $GLOBALS['debug_sqltrace'] || $slow) { $backtrace = (EDC('sqltrace') || $slow) ? it_debug::backtrace(1) : null; - it::log('sqllog', rtrim("$msec\t$query\t$backtrace" . ($slow ? "\tSLOW" : "") . "\t" . $this->_p['server'])); + it::log('sqllog', "$msec\t$query\t$backtrace\t" . $this->_p['server'] . ($slow ? "\tSLOW" : "")); $this->_sqllog[] = array( 'time' => $msec, |