summaryrefslogtreecommitdiff
path: root/it_dbi.class
diff options
context:
space:
mode:
authorUrban Müller2011-04-14 17:49:42 +0000
committerUrban Müller2011-04-14 17:49:42 +0000
commitcc4dcf08009a02b881004456a38abc1e2fb08e54 (patch)
treecebbd982ded011ed290ed5571577b40f9437904d /it_dbi.class
parent740fef51be094c396d576715cae942f021a2f6c6 (diff)
downloaditools-cc4dcf08009a02b881004456a38abc1e2fb08e54.tar.gz
itools-cc4dcf08009a02b881004456a38abc1e2fb08e54.tar.bz2
itools-cc4dcf08009a02b881004456a38abc1e2fb08e54.zip
log server used
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 7424e57..a414d3e 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" : "")));
+ it::log('sqllog', rtrim("$msec\t$query\t$backtrace" . ($slow ? "\tSLOW" : "") . "\t" . $this->_p['server']));
$this->_sqllog[] = array(
'time' => $msec,