From d50cafe953f91a1e8ca3248330564a5434360ce9 Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 14 Apr 2011 17:51:32 +0000 Subject: consistent columns --- 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 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, -- cgit v1.2.3