mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
log start time of queries for profiler
Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
parent
a705132c8d
commit
426b3429f7
1 changed files with 1 additions and 0 deletions
|
|
@ -30,5 +30,6 @@ class BacktraceDebugStack extends DebugStack {
|
|||
parent::startQuery($sql, $params, $types);
|
||||
$backtrace = debug_backtrace(DEBUG_BACKTRACE_IGNORE_ARGS);
|
||||
$this->queries[$this->currentQuery]['backtrace'] = $backtrace;
|
||||
$this->queries[$this->currentQuery]['start'] = $this->start;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue