diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2023-02-15 19:29:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-15 19:29:56 +0100 |
commit | a2422c937abc684cddae067448393e7850c46703 (patch) | |
tree | 8a8d153bab0493d676898e5939129c8a6cc7a444 /lib | |
parent | 228911cbcde8b10aa6befe85b3f24cae990bedb2 (diff) | |
parent | 426b3429f708b20e43ff3ab3bb01c53e3645572c (diff) | |
download | nextcloud-server-a2422c937abc684cddae067448393e7850c46703.tar.gz nextcloud-server-a2422c937abc684cddae067448393e7850c46703.zip |
Merge pull request #36698 from nextcloud/db-profile-start-time
log start time of queries for profiler
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/DB/BacktraceDebugStack.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/DB/BacktraceDebugStack.php b/lib/private/DB/BacktraceDebugStack.php index be37e5a35da..6a19be89225 100644 --- a/lib/private/DB/BacktraceDebugStack.php +++ b/lib/private/DB/BacktraceDebugStack.php @@ -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; } } |