Dependency of callstack moved one layer up

This commit is contained in:
Philipp Holzer 2019-02-16 23:17:10 +01:00
parent 5e6e1a8025
commit 0a7861da65
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5
12 changed files with 39 additions and 40 deletions

View file

@ -587,7 +587,7 @@ class DBA
self::$errorno = $errorno;
}
self::$profiler->saveTimestamp($stamp1, 'database');
self::$profiler->saveTimestamp($stamp1, 'database', System::callstack());
if (self::$configCache->get('system', 'db_log')) {
$stamp2 = microtime(true);
@ -658,7 +658,7 @@ class DBA
self::$errorno = $errorno;
}
self::$profiler->saveTimestamp($stamp, "database_write");
self::$profiler->saveTimestamp($stamp, "database_write", System::callstack());
return $retval;
}
@ -827,7 +827,7 @@ class DBA
}
}
self::$profiler->saveTimestamp($stamp1, 'database');
self::$profiler->saveTimestamp($stamp1, 'database', System::callstack());
return $columns;
}
@ -1564,7 +1564,7 @@ class DBA
break;
}
self::$profiler->saveTimestamp($stamp1, 'database');
self::$profiler->saveTimestamp($stamp1, 'database', System::callstack());
return $ret;
}