@@ -158,7 +158,11 @@ class DebugConnection implements Connection {
|
|||||||
$res = $this->childConnection->executeQuery($sql, $fetchmode);
|
$res = $this->childConnection->executeQuery($sql, $fetchmode);
|
||||||
$endTime = microtime(true);
|
$endTime = microtime(true);
|
||||||
$time = $endTime - $startTime;
|
$time = $endTime - $startTime;
|
||||||
|
if(is_string($sql)){
|
||||||
$this->log("executeQuery|$time|$sql");
|
$this->log("executeQuery|$time|$sql");
|
||||||
|
}else{
|
||||||
|
$this->log("executeQuery|$time|Sql empty");
|
||||||
|
}
|
||||||
return $res;
|
return $res;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user